mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
* REFACTOR: use functions from ddl-help * NEW: Default values are written to DDL * fix testcase for sqlserver as default constraints will get names in future * Reading DbMigration * ADD: DbmIgrationGenerateTest * Tables must be created first * Sanity checks and some getters * DdlMigration gets applied now * ADD: Testcase and reference migration scripts * no effective code changes: add comments
18 lines
291 B
Java
18 lines
291 B
Java
package misc.migration.v1_2;
|
|
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@Table(name = "migtest_e_history")
|
|
public class EHistory {
|
|
|
|
@Id
|
|
Integer id;
|
|
|
|
|
|
Long testString; // keep it as long as history prevents altering
|
|
}
|