src/org/nutz/dao/util/Daos.java
public static void migration(Dao dao,
                                 final Class<?> klass,
                                 final boolean add,
                                 final boolean del,
                                 Object tableName) {
        migration(dao, klass, add, del, false, tableName);
    }
public static void migration(Dao dao,
                                 final Class<?> klass,
                                 final boolean add,
                                 final boolean del,
                                 Object tableName) {
        migration(dao, klass, add, del, false, tableName);
    }
public static void migration ( Dao dao , final Class < ? > klass , final boolean add , final boolean del , Object tableName ) { migration ( dao , klass , add , del , false , tableName ) ; }
为数据表自动增减字段

@param dao
Dao实例
@param klass
映射Pojo
@param add
是否允许添加字段
@param del
是否允许删除字段
@param tableName
动态表名上下文
为数据表自动增减字段