mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
migrations
This commit is contained in:
1 parent
3ab7ebe5e6
commit
c6fa60f28c
75 files changed
+123
-48
No files matched your search
@@ -60,6 +60,7 @@ create table migtest_e_basic (
|
||||
status2 varchar(1) default 'N' not null,
|
||||
name varchar(127),
|
||||
description varchar(127),
|
||||
description2 varchar(127),
|
||||
some_date timestamptz,
|
||||
old_boolean boolean default false not null,
|
||||
old_boolean2 boolean,
|
||||
|
||||
+2
@@ -3,6 +3,8 @@
|
||||
drop view if exists migtest_e_history2_with_history;
|
||||
|
||||
-- apply changes
|
||||
alter table migtest_e_basic drop column description2;
|
||||
|
||||
alter table migtest_e_basic drop column old_boolean;
|
||||
|
||||
alter table migtest_e_basic drop column old_boolean2;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
1428934272, 1.0__initial.sql
|
||||
-582258071, 1.0__initial.sql
|
||||
1253246780, 1.1.sql
|
||||
-1861367028, 1.2__dropsFor_1.1.sql
|
||||
-1155149746, 1.2__dropsFor_1.1.sql
|
||||
326342179, 1.3.sql
|
||||
-1991941691, 1.4__dropsFor_1.3.sql
|
||||
783227075, R__multi_comments.sql
|
||||
|
||||
Reference in new issue
Block a user