mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
Add testcase, that uses all kinds of reserved keywords
This commit is contained in:
1 parent
4077d906d1
commit
04d2a20945
93 files changed
+1129
-64
No files matched your search
@@ -90,6 +90,7 @@ update migtest_e_history2 set test_string = 'unknown' where test_string is null;
|
||||
-- NOTE: table has @History - special migration may be necessary
|
||||
update migtest_e_history6 set test_number1 = 42 where test_number1 is null;
|
||||
-- apply alter tables
|
||||
alter table "table" add "select" varchar2(255);
|
||||
alter table migtest_ckey_detail add one_key number(10);
|
||||
alter table migtest_ckey_detail add two_key varchar2(127);
|
||||
alter table migtest_ckey_parent add assoc_id number(10);
|
||||
@@ -132,6 +133,8 @@ alter table migtest_e_basic add constraint ck_migtest_e_basic_progress check ( p
|
||||
-- NOT YET IMPLEMENTED: alter table migtest_e_basic add constraint uq_migtest_e_basic_indextest5 unique (indextest5);
|
||||
comment on column migtest_e_history.test_string is 'Column altered to long now';
|
||||
comment on table migtest_e_history is 'We have history now';
|
||||
comment on column "table"."index" is 'this is an other comment';
|
||||
-- NOT YET IMPLEMENTED: alter table "table" add constraint uq_table_select unique ("select");
|
||||
-- foreign keys and indices
|
||||
create index ix_mgtst_mtm_c_mgtst_mt_3ug4ok on migtest_mtm_c_migtest_mtm_m (migtest_mtm_c_id);
|
||||
alter table migtest_mtm_c_migtest_mtm_m add constraint fk_mgtst_mtm_c_mgtst_mt_93awga foreign key (migtest_mtm_c_id) references migtest_mtm_c (id);
|
||||
|
||||
Reference in new issue
Block a user