mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
* ADD: more test classes for Softdelete and History * update reference models after adding test classes * DbMigration:Improved History generation for sqlserver * FIX: When DB supports Sql2011 platform, we must not alter the history-table (as this is handled by DB itself) * DbMigration: When dropping a table, drop the sequence also. * DbMigration: dropColumn is handled by platformDdl now, as SqlServerDdl needs to delete dependent objects (default constraints...) first * FIX: DbMigration is not executed on history table * DbMigration: can drop comment now. * No effective code change: completed ObjectFactory / fixed imports * FIX: drop table comment * Committed the reference models
21 lines
293 B
Java
21 lines
293 B
Java
package misc.migration.v1_2;
|
|
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
import io.ebean.annotation.History;
|
|
|
|
@Entity
|
|
@Table(name = "migtest_e_history2")
|
|
@History
|
|
public class EHistory2 {
|
|
|
|
@Id
|
|
Integer id;
|
|
|
|
|
|
String testString;
|
|
}
|