mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
Added testcase with upper and lower case characters
This commit is contained in:
1 parent
00686fcccf
commit
f1950d479e
126 files changed
+820
-126
No files matched your search
@@ -17,6 +17,16 @@ alter table migtest_e_enum drop constraint if exists ck_migtest_e_enum_test_stat
|
||||
drop index if exists ix_migtest_e_basic_indextest3;
|
||||
drop index if exists ix_migtest_e_basic_indextest6;
|
||||
-- apply changes
|
||||
create table "migtest_QuOtEd" (
|
||||
id varchar(255) not null,
|
||||
status1 varchar(1),
|
||||
status2 varchar(1),
|
||||
constraint ck_migtest_quoted_status1 check ( status1 in ('N','A','I')),
|
||||
constraint ck_migtest_quoted_status2 check ( status2 in ('N','A','I')),
|
||||
constraint uq_migtest_quoted_status2 unique (status2),
|
||||
constraint pk_migtest_quoted primary key (id)
|
||||
);
|
||||
|
||||
create table migtest_e_ref (
|
||||
id integer auto_increment not null,
|
||||
name varchar(127) not null,
|
||||
@@ -74,3 +84,4 @@ alter table migtest_e_basic add constraint fk_migtest_e_basic_eref_id foreign ke
|
||||
|
||||
create index ix_migtest_e_basic_indextest1 on migtest_e_basic (indextest1);
|
||||
create index ix_migtest_e_basic_indextest5 on migtest_e_basic (indextest5);
|
||||
create index ix_migtest_quoted_status1 on "migtest_QuOtEd" (status1);
|
||||
Reference in new issue
Block a user