mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-20 07:03:22 +00:00
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
This commit is contained in:
1 parent
2c436c3af5
commit
f2179fca2d
38 files changed
+118
-85
No files matched your search
@@ -5,7 +5,7 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import io.ebean.Platform;
|
||||
import io.ebean.annotation.Platform;
|
||||
import io.ebean.annotation.DbComment;
|
||||
import io.ebean.annotation.DbMigration;
|
||||
import io.ebean.annotation.History;
|
||||
@@ -15,10 +15,10 @@ import io.ebean.annotation.History;
|
||||
@History
|
||||
@DbComment("We have history now")
|
||||
public class EHistory {
|
||||
|
||||
|
||||
@Id
|
||||
Integer id;
|
||||
|
||||
|
||||
@DbComment("Column altered to long now")
|
||||
@DbMigration(platforms = Platform.POSTGRES,
|
||||
preAlter = "alter table ${table} alter column ${column} TYPE bigint USING (${column}::integer)")
|
||||
|
||||
Reference in new issue
Block a user