create:
- Create a policy represents each operation time, they have to drop the table, creating the table - top test
create-drop:
- Create a policy to delete a time when in operation, to be deleted before creating a table in the drop table - there is no comparison with the temporary table above
update :
- Update policies - most do not test it in a database created with me - master
validate :
-
验证策略 -- 验证数据库配置和实体对象配置是否一致,如果不一致就会报错 比如数据库没有表,有对应的实体对象 报错 数据库表有多余字段 ,对应的实体对象没有字段 也不会错误 数据库少字段 username,实体对象有username ,会报错 --假如数据库已经把所有表创建好,我们自己在代码在创建好