Migration scripts

This commit is contained in:
Roland Praml
2023-06-14 17:50:26 +02:00
parent d1c21bf50a
commit 6fe3ec9355
79 changed files with 2764 additions and 56 deletions
@@ -6,6 +6,98 @@ alter table migtest_e_basic drop constraint uq_migtest_e_basic_indextest2;
alter table migtest_e_basic drop constraint uq_migtest_e_basic_indextest6;
alter table migtest_e_enum drop constraint if exists ck_migtest_e_enum_test_status;
-- apply changes
create table migtest_e_test_binary (
id UInt32,
test_byte16 String,
test_byte256 String,
test_byte512 String,
test_byte1k String,
test_byte2k String,
test_byte4k String,
test_byte8k String,
test_byte16k String,
test_byte32k String,
test_byte64k String,
test_byte128k String,
test_byte256k String,
test_byte512k String,
test_byte1m String,
test_byte2m String,
test_byte4m String,
test_byte8m String,
test_byte16m String,
test_byte32m String
) ENGINE = Log();
create table migtest_e_test_json (
id UInt32,
json255 String,
json256 String,
json512 String,
json1k String,
json2k String,
json4k String,
json8k String,
json16k String,
json32k String,
json64k String,
json128k String,
json256k String,
json512k String,
json1m String,
json2m String,
json4m String,
json8m String,
json16m String,
json32m String
) ENGINE = Log();
create table migtest_e_test_lob (
id UInt32,
lob255 String,
lob256 String,
lob512 String,
lob1k String,
lob2k String,
lob4k String,
lob8k String,
lob16k String,
lob32k String,
lob64k String,
lob128k String,
lob256k String,
lob512k String,
lob1m String,
lob2m String,
lob4m String,
lob8m String,
lob16m String,
lob32m String
) ENGINE = Log();
create table migtest_e_test_varchar (
id UInt32,
varchar255 String,
varchar256 String,
varchar512 String,
varchar1k String,
varchar2k String,
varchar4k String,
varchar8k String,
varchar16k String,
varchar32k String,
varchar64k String,
varchar128k String,
varchar256k String,
varchar512k String,
varchar1m String,
varchar2m String,
varchar4m String,
varchar8m String,
varchar16m String,
varchar32m String
) ENGINE = Log();
create table migtest_e_user (
id UInt32
) ENGINE = Log();
@@ -21,6 +21,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,6 +1,6 @@
1672735407, 1.0__initial.sql
540706946, 1.1.sql
-1952315279, 1.1.sql
688811494, 1.2__dropsFor_1.1.sql
1015552567, 1.3.sql
677297367, 1.4__dropsFor_1.3.sql
-252580551, 1.4__dropsFor_1.3.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 bytea,
test_byte256 bytea,
test_byte512 bytea,
test_byte1k bytea,
test_byte2k bytea,
test_byte4k bytea,
test_byte8k bytea,
test_byte16k bytea,
test_byte32k bytea,
test_byte64k bytea,
test_byte128k bytea,
test_byte256k bytea,
test_byte512k bytea,
test_byte1m bytea,
test_byte2m bytea,
test_byte4m bytea,
test_byte8m bytea,
test_byte16m bytea,
test_byte32m bytea,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 text,
lob256 text,
lob512 text,
lob1k text,
lob2k text,
lob4k text,
lob8k text,
lob16k text,
lob32k text,
lob64k text,
lob128k text,
lob256k text,
lob512k text,
lob1m text,
lob2m text,
lob4m text,
lob8m text,
lob16m text,
lob32m text,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m text,
varchar32m text,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -24,6 +24,14 @@ drop table if exists drop_ref_many cascade;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one cascade;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary cascade;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json cascade;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob cascade;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar cascade;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user cascade;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m cascade;
@@ -1,7 +1,7 @@
1867456246, 1.0__initial.sql
1284257915, 1.1.sql
-187679618, 1.1.sql
856096334, 1.2__dropsFor_1.1.sql
-279468991, 1.3.sql
2137365848, 1.4__dropsFor_1.3.sql
-1398154763, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -85,6 +85,102 @@ if exists (select indname from syscat.indexes where indschema = current_schema a
end if;
end$$;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob(8192),
test_byte16k blob(16384),
test_byte32k blob(32768),
test_byte64k blob(65536),
test_byte128k blob(131072),
test_byte256k blob(262144),
test_byte512k blob(524288),
test_byte1m blob(1048576),
test_byte2m blob(2097152),
test_byte4m blob(4194304),
test_byte8m blob(8388608),
test_byte16m blob(16777216),
test_byte32m blob(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k clob(4096),
json8k clob(8192),
json16k clob(16384),
json32k clob(32768),
json64k clob(65536),
json128k clob(131072),
json256k clob(262144),
json512k clob(524288),
json1m clob(1048576),
json2m clob(2097152),
json4m clob(4194304),
json8m clob(8388608),
json16m clob(16777216),
json32m clob(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k clob(4096),
varchar8k clob(8192),
varchar16k clob(16384),
varchar32k clob(32768),
varchar64k clob(65536),
varchar128k clob(131072),
varchar256k clob(262144),
varchar512k clob(524288),
varchar1m clob(1048576),
varchar2m clob(2097152),
varchar4m clob(4194304),
varchar8m clob(8388608),
varchar16m clob(16777216),
varchar32m clob(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -73,6 +73,38 @@ if exists (select seqschema from syscat.sequences where seqschema = current_sche
execute stmt;
end if;
end$$;
drop table migtest_e_test_binary;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_BINARY_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_binary_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_json;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_JSON_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_json_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_lob;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_LOB_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_lob_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_varchar;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_VARCHAR_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_varchar_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_user;
delimiter $$
begin
@@ -1,7 +1,7 @@
-283216660, 1.0__initial.sql
-184000413, 1.1.sql
-353204789, 1.1.sql
-1187336846, 1.2__dropsFor_1.1.sql
-1811865535, 1.3.sql
-1255430844, 1.4__dropsFor_1.3.sql
1864105401, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(8192),
test_byte16k varbinary(16384),
test_byte32k varbinary(32768),
test_byte64k varbinary(65536),
test_byte128k varbinary(131072),
test_byte256k varbinary(262144),
test_byte512k varbinary(524288),
test_byte1m varbinary(1048576),
test_byte2m varbinary(2097152),
test_byte4m varbinary(4194304),
test_byte8m varbinary(8388608),
test_byte16m varbinary(16777216),
test_byte32m varbinary(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k varchar(4096),
json8k varchar(8192),
json16k varchar(16384),
json32k varchar(32768),
json64k varchar(65536),
json128k varchar(131072),
json256k varchar(262144),
json512k varchar(524288),
json1m varchar(1048576),
json2m varchar(2097152),
json4m varchar(4194304),
json8m varchar(8388608),
json16m varchar(16777216),
json32m varchar(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m varchar(16777216),
varchar32m varchar(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -21,6 +21,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,6 +1,6 @@
-528359263, 1.0__initial.sql
253988246, 1.1.sql
308473502, 1.1.sql
688811494, 1.2__dropsFor_1.1.sql
674925120, 1.3.sql
677297367, 1.4__dropsFor_1.3.sql
-252580551, 1.4__dropsFor_1.3.sql
@@ -85,6 +85,102 @@ if exists (select indname from syscat.indexes where indschema = current_schema a
end if;
end$$;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob(8192),
test_byte16k blob(16384),
test_byte32k blob(32768),
test_byte64k blob(65536),
test_byte128k blob(131072),
test_byte256k blob(262144),
test_byte512k blob(524288),
test_byte1m blob(1048576),
test_byte2m blob(2097152),
test_byte4m blob(4194304),
test_byte8m blob(8388608),
test_byte16m blob(16777216),
test_byte32m blob(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k clob(4096),
json8k clob(8192),
json16k clob(16384),
json32k clob(32768),
json64k clob(65536),
json128k clob(131072),
json256k clob(262144),
json512k clob(524288),
json1m clob(1048576),
json2m clob(2097152),
json4m clob(4194304),
json8m clob(8388608),
json16m clob(16777216),
json32m clob(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k clob(4096),
varchar8k clob(8192),
varchar16k clob(16384),
varchar32k clob(32768),
varchar64k clob(65536),
varchar128k clob(131072),
varchar256k clob(262144),
varchar512k clob(524288),
varchar1m clob(1048576),
varchar2m clob(2097152),
varchar4m clob(4194304),
varchar8m clob(8388608),
varchar16m clob(16777216),
varchar32m clob(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -73,6 +73,38 @@ if exists (select seqschema from syscat.sequences where seqschema = current_sche
execute stmt;
end if;
end$$;
drop table migtest_e_test_binary;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_BINARY_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_binary_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_json;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_JSON_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_json_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_lob;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_LOB_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_lob_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_varchar;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_VARCHAR_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_varchar_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_user;
delimiter $$
begin
@@ -1,8 +1,8 @@
1307787475, I__create_tablespaces.sql
1681764655, 1.0__initial.sql
-1450326352, 1.1.sql
-678869146, 1.1.sql
-1187336846, 1.2__dropsFor_1.1.sql
469192394, 1.3.sql
-1255430844, 1.4__dropsFor_1.3.sql
1864105401, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -85,6 +85,102 @@ if exists (select indname from syscat.indexes where indschema = current_schema a
end if;
end$$;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob(8192),
test_byte16k blob(16384),
test_byte32k blob(32768),
test_byte64k blob(65536),
test_byte128k blob(131072),
test_byte256k blob(262144),
test_byte512k blob(524288),
test_byte1m blob(1048576),
test_byte2m blob(2097152),
test_byte4m blob(4194304),
test_byte8m blob(8388608),
test_byte16m blob(16777216),
test_byte32m blob(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k clob(4096),
json8k clob(8192),
json16k clob(16384),
json32k clob(32768),
json64k clob(65536),
json128k clob(131072),
json256k clob(262144),
json512k clob(524288),
json1m clob(1048576),
json2m clob(2097152),
json4m clob(4194304),
json8m clob(8388608),
json16m clob(16777216),
json32m clob(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k clob(4096),
varchar8k clob(8192),
varchar16k clob(16384),
varchar32k clob(32768),
varchar64k clob(65536),
varchar128k clob(131072),
varchar256k clob(262144),
varchar512k clob(524288),
varchar1m clob(1048576),
varchar2m clob(2097152),
varchar4m clob(4194304),
varchar8m clob(8388608),
varchar16m clob(16777216),
varchar32m clob(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -73,6 +73,38 @@ if exists (select seqschema from syscat.sequences where seqschema = current_sche
execute stmt;
end if;
end$$;
drop table migtest_e_test_binary;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_BINARY_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_binary_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_json;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_JSON_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_json_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_lob;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_LOB_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_lob_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_test_varchar;
delimiter $$
begin
if exists (select seqschema from syscat.sequences where seqschema = current_schema and ucase(seqname) = 'MIGTEST_E_TEST_VARCHAR_SEQ') then
prepare stmt from 'drop sequence migtest_e_test_varchar_seq';
execute stmt;
end if;
end$$;
drop table migtest_e_user;
delimiter $$
begin
@@ -1,7 +1,7 @@
1681764655, 1.0__initial.sql
-1450326352, 1.1.sql
-678869146, 1.1.sql
-1187336846, 1.2__dropsFor_1.1.sql
469192394, 1.3.sql
-1255430844, 1.4__dropsFor_1.3.sql
1864105401, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(8192),
test_byte16k varbinary(16384),
test_byte32k varbinary(32768),
test_byte64k varbinary(65536),
test_byte128k varbinary(131072),
test_byte256k varbinary(262144),
test_byte512k varbinary(524288),
test_byte1m varbinary(1048576),
test_byte2m varbinary(2097152),
test_byte4m varbinary(4194304),
test_byte8m varbinary(8388608),
test_byte16m varbinary(16777216),
test_byte32m varbinary(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k varchar(4096),
json8k varchar(8192),
json16k varchar(16384),
json32k varchar(32768),
json64k varchar(65536),
json128k varchar(131072),
json256k varchar(262144),
json512k varchar(524288),
json1m varchar(1048576),
json2m varchar(2097152),
json4m varchar(4194304),
json8m varchar(8388608),
json16m varchar(16777216),
json32m varchar(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m varchar(16777216),
varchar32m varchar(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -21,6 +21,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,6 +1,6 @@
-528359263, 1.0__initial.sql
253988246, 1.1.sql
308473502, 1.1.sql
688811494, 1.2__dropsFor_1.1.sql
674925120, 1.3.sql
677297367, 1.4__dropsFor_1.3.sql
-252580551, 1.4__dropsFor_1.3.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(8192),
test_byte16k varbinary(16384),
test_byte32k varbinary(32768),
test_byte64k varbinary(65536),
test_byte128k varbinary(131072),
test_byte256k varbinary(262144),
test_byte512k varbinary(524288),
test_byte1m varbinary(1048576),
test_byte2m varbinary(2097152),
test_byte4m varbinary(4194304),
test_byte8m varbinary(8388608),
test_byte16m varbinary(16777216),
test_byte32m varbinary(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k varchar(4096),
json8k varchar(8192),
json16k varchar(16384),
json32k varchar(32768),
json64k varchar(65536),
json128k varchar(131072),
json256k varchar(262144),
json512k varchar(524288),
json1m varchar(1048576),
json2m varchar(2097152),
json4m varchar(4194304),
json8m varchar(8388608),
json16m varchar(16777216),
json32m varchar(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m varchar(16777216),
varchar32m varchar(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -50,6 +50,14 @@ drop table if exists drop_ref_many;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m;
@@ -1,8 +1,8 @@
400361768, 1.0__initial.sql
1979519453, 1.1.sql
58844973, 1.1.sql
1579867974, 1.2__dropsFor_1.1.sql
64466326, 1.3.sql
255910011, 1.4__dropsFor_1.3.sql
-232694612, 1.4__dropsFor_1.3.sql
783227075, R__multi_comments.sql
561281075, R__order_views.sql
@@ -59,6 +59,102 @@ exec 'drop index ix_migtest_quoted_status1';
end;
$$;
-- apply changes
create column table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k blob,
test_byte128k blob,
test_byte256k blob,
test_byte512k blob,
test_byte1m blob,
test_byte2m blob,
test_byte4m blob,
test_byte8m blob,
test_byte16m blob,
test_byte32m blob,
constraint pk_migtest_e_test_binary primary key (id)
);
create column table migtest_e_test_json (
id integer generated by default as identity not null,
json255 nvarchar(255),
json256 nvarchar(256),
json512 nvarchar(512),
json1k nvarchar(1024),
json2k nvarchar(2048),
json4k nvarchar(4096),
json8k nclob,
json16k nclob,
json32k nclob,
json64k nclob,
json128k nclob,
json256k nclob,
json512k nclob,
json1m nclob,
json2m nclob,
json4m nclob,
json8m nclob,
json16m nclob,
json32m nclob,
constraint pk_migtest_e_test_json primary key (id)
);
create column table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 nclob,
lob256 nclob,
lob512 nclob,
lob1k nclob,
lob2k nclob,
lob4k nclob,
lob8k nclob,
lob16k nclob,
lob32k nclob,
lob64k nclob,
lob128k nclob,
lob256k nclob,
lob512k nclob,
lob1m nclob,
lob2m nclob,
lob4m nclob,
lob8m nclob,
lob16m nclob,
lob32m nclob,
constraint pk_migtest_e_test_lob primary key (id)
);
create column table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 nvarchar(255),
varchar256 nvarchar(256),
varchar512 nvarchar(512),
varchar1k nvarchar(1024),
varchar2k nvarchar(2048),
varchar4k nvarchar(4096),
varchar8k nclob,
varchar16k nclob,
varchar32k nclob,
varchar64k nclob,
varchar128k nclob,
varchar256k nclob,
varchar512k nclob,
varchar1m nclob,
varchar2m nclob,
varchar4m nclob,
varchar8m nclob,
varchar16m nclob,
varchar32m nclob,
constraint pk_migtest_e_test_varchar primary key (id)
);
create column table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -39,6 +39,10 @@ drop table drop_main cascade;
drop table drop_main_drop_ref_many cascade;
drop table drop_ref_many cascade;
drop table drop_ref_one cascade;
drop table migtest_e_test_binary cascade;
drop table migtest_e_test_json cascade;
drop table migtest_e_test_lob cascade;
drop table migtest_e_test_varchar cascade;
drop table migtest_e_user cascade;
drop table migtest_mtm_c_migtest_mtm_m cascade;
drop table migtest_mtm_m_migtest_mtm_c cascade;
@@ -1,8 +1,8 @@
-745347271, I__create_procs.sql
-1399184401, 1.0__initial.sql
-1727762906, 1.1.sql
-871493688, 1.1.sql
1535221752, 1.2__dropsFor_1.1.sql
1459381570, 1.3.sql
1163601680, 1.4__dropsFor_1.3.sql
-490709749, 1.4__dropsFor_1.3.sql
1906063401, R__order_views_hana.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity (start with 1) not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(8192),
test_byte16k varbinary(16384),
test_byte32k varbinary(32768),
test_byte64k varbinary(65536),
test_byte128k varbinary(131072),
test_byte256k varbinary(262144),
test_byte512k varbinary(524288),
test_byte1m varbinary(1048576),
test_byte2m varbinary(2097152),
test_byte4m varbinary(4194304),
test_byte8m varbinary(8388608),
test_byte16m varbinary(16777216),
test_byte32m varbinary(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity (start with 1) not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k varchar(4096),
json8k varchar(8192),
json16k varchar(16384),
json32k varchar(32768),
json64k varchar(65536),
json128k varchar(131072),
json256k varchar(262144),
json512k varchar(524288),
json1m varchar(1048576),
json2m varchar(2097152),
json4m varchar(4194304),
json8m varchar(8388608),
json16m varchar(16777216),
json32m varchar(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity (start with 1) not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity (start with 1) not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m varchar(16777216),
varchar32m varchar(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity (start with 1) not null,
constraint pk_migtest_e_user primary key (id)
@@ -24,6 +24,14 @@ drop table if exists drop_ref_many;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m;
@@ -1,7 +1,7 @@
617421105, 1.0__initial.sql
84224587, 1.1.sql
-590637714, 1.1.sql
-848622216, 1.2__dropsFor_1.1.sql
-1921508585, 1.3.sql
1870787524, 1.4__dropsFor_1.3.sql
-1547659386, 1.4__dropsFor_1.3.sql
861001272, R__order_views_hsqldb.sql
@@ -8,6 +8,102 @@ drop index ix_migtest_e_basic_indextest1 on migtest_e_basic;
drop index ix_migtest_e_basic_indextest5 on migtest_e_basic;
drop index ix_migtest_quoted_status1 on `migtest_QuOtEd`;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k mediumblob,
test_byte128k mediumblob,
test_byte256k mediumblob,
test_byte512k mediumblob,
test_byte1m mediumblob,
test_byte2m mediumblob,
test_byte4m mediumblob,
test_byte8m mediumblob,
test_byte16m longblob,
test_byte32m longblob,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 longtext,
lob256 longtext,
lob512 longtext,
lob1k longtext,
lob2k longtext,
lob4k longtext,
lob8k longtext,
lob16k longtext,
lob32k longtext,
lob64k longtext,
lob128k longtext,
lob256k longtext,
lob512k longtext,
lob1m longtext,
lob2m longtext,
lob4m longtext,
lob8m longtext,
lob16m longtext,
lob32m longtext,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k text,
varchar8k varchar(8193),
varchar16k text,
varchar32k text,
varchar64k mediumtext,
varchar128k mediumtext,
varchar256k mediumtext,
varchar512k mediumtext,
varchar1m mediumtext,
varchar2m mediumtext,
varchar4m mediumtext,
varchar8m mediumtext,
varchar16m longtext,
varchar32m longtext,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -27,6 +27,14 @@ drop table if exists drop_ref_many;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m;
@@ -1,7 +1,7 @@
-1588268581, 1.0__initial.sql
-1101751768, 1.1.sql
-1543277378, 1.1.sql
919151678, 1.2__dropsFor_1.1.sql
-413458006, 1.3.sql
-1557805741, 1.4__dropsFor_1.3.sql
-177212756, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -8,6 +8,102 @@ drop index ix_migtest_e_basic_indextest1 on migtest_e_basic;
drop index ix_migtest_e_basic_indextest5 on migtest_e_basic;
drop index ix_migtest_quoted_status1 on `migtest_QuOtEd`;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k mediumblob,
test_byte128k mediumblob,
test_byte256k mediumblob,
test_byte512k mediumblob,
test_byte1m mediumblob,
test_byte2m mediumblob,
test_byte4m mediumblob,
test_byte8m mediumblob,
test_byte16m longblob,
test_byte32m longblob,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 longtext,
lob256 longtext,
lob512 longtext,
lob1k longtext,
lob2k longtext,
lob4k longtext,
lob8k longtext,
lob16k longtext,
lob32k longtext,
lob64k longtext,
lob128k longtext,
lob256k longtext,
lob512k longtext,
lob1m longtext,
lob2m longtext,
lob4m longtext,
lob8m longtext,
lob16m longtext,
lob32m longtext,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k text,
varchar8k varchar(8193),
varchar16k text,
varchar32k text,
varchar64k mediumtext,
varchar128k mediumtext,
varchar256k mediumtext,
varchar512k mediumtext,
varchar1m mediumtext,
varchar2m mediumtext,
varchar4m mediumtext,
varchar8m mediumtext,
varchar16m longtext,
varchar32m longtext,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -27,6 +27,14 @@ drop table if exists drop_ref_many;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m;
@@ -1,8 +1,8 @@
-1933396282, I__create_procs.sql
-1588268581, 1.0__initial.sql
-1101751768, 1.1.sql
-1543277378, 1.1.sql
1187950993, 1.2__dropsFor_1.1.sql
-413458006, 1.3.sql
-430651388, 1.4__dropsFor_1.3.sql
-1494509099, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -79,6 +79,94 @@
<column name="textfield2" type="varchar"/>
</addColumn>
<addUniqueConstraint constraintName="uq_table_select" tableName="&quot;table&quot;" columnNames="&quot;select&quot;" oneToOne="false" nullableColumns="&quot;select&quot;"/>
<createTable name="migtest_e_test_binary" pkName="pk_migtest_e_test_binary">
<column name="id" type="integer" primaryKey="true"/>
<column name="test_byte16" type="varbinary(16)"/>
<column name="test_byte256" type="varbinary(256)"/>
<column name="test_byte512" type="varbinary(512)"/>
<column name="test_byte1k" type="varbinary(1024)"/>
<column name="test_byte2k" type="varbinary(2048)"/>
<column name="test_byte4k" type="varbinary(4096)"/>
<column name="test_byte8k" type="varbinary(8192)"/>
<column name="test_byte16k" type="varbinary(16384)"/>
<column name="test_byte32k" type="varbinary(32768)"/>
<column name="test_byte64k" type="varbinary(65536)"/>
<column name="test_byte128k" type="varbinary(131072)"/>
<column name="test_byte256k" type="varbinary(262144)"/>
<column name="test_byte512k" type="varbinary(524288)"/>
<column name="test_byte1m" type="varbinary(1048576)"/>
<column name="test_byte2m" type="varbinary(2097152)"/>
<column name="test_byte4m" type="varbinary(4194304)"/>
<column name="test_byte8m" type="varbinary(8388608)"/>
<column name="test_byte16m" type="varbinary(16777216)"/>
<column name="test_byte32m" type="varbinary(33554432)"/>
</createTable>
<createTable name="migtest_e_test_json" pkName="pk_migtest_e_test_json">
<column name="id" type="integer" primaryKey="true"/>
<column name="json255" type="json(255)"/>
<column name="json256" type="json(256)"/>
<column name="json512" type="json(512)"/>
<column name="json1k" type="json(1024)"/>
<column name="json2k" type="json(2048)"/>
<column name="json4k" type="json(4096)"/>
<column name="json8k" type="json(8192)"/>
<column name="json16k" type="json(16384)"/>
<column name="json32k" type="json(32768)"/>
<column name="json64k" type="json(65536)"/>
<column name="json128k" type="json(131072)"/>
<column name="json256k" type="json(262144)"/>
<column name="json512k" type="json(524288)"/>
<column name="json1m" type="json(1048576)"/>
<column name="json2m" type="json(2097152)"/>
<column name="json4m" type="json(4194304)"/>
<column name="json8m" type="json(8388608)"/>
<column name="json16m" type="json(16777216)"/>
<column name="json32m" type="json(33554432)"/>
</createTable>
<createTable name="migtest_e_test_lob" pkName="pk_migtest_e_test_lob">
<column name="id" type="integer" primaryKey="true"/>
<column name="lob255" type="clob"/>
<column name="lob256" type="clob"/>
<column name="lob512" type="clob"/>
<column name="lob1k" type="clob"/>
<column name="lob2k" type="clob"/>
<column name="lob4k" type="clob"/>
<column name="lob8k" type="clob"/>
<column name="lob16k" type="clob"/>
<column name="lob32k" type="clob"/>
<column name="lob64k" type="clob"/>
<column name="lob128k" type="clob"/>
<column name="lob256k" type="clob"/>
<column name="lob512k" type="clob"/>
<column name="lob1m" type="clob"/>
<column name="lob2m" type="clob"/>
<column name="lob4m" type="clob"/>
<column name="lob8m" type="clob"/>
<column name="lob16m" type="clob"/>
<column name="lob32m" type="clob"/>
</createTable>
<createTable name="migtest_e_test_varchar" pkName="pk_migtest_e_test_varchar">
<column name="id" type="integer" primaryKey="true"/>
<column name="varchar255" type="varchar(255)"/>
<column name="varchar256" type="varchar(256)"/>
<column name="varchar512" type="varchar(512)"/>
<column name="varchar1k" type="varchar(1024)"/>
<column name="varchar2k" type="varchar(2048)"/>
<column name="varchar4k" type="varchar(4096)"/>
<column name="varchar8k" type="mariadb,mysql;varchar(8193);varchar(8192)"/>
<column name="varchar16k" type="varchar(16384)"/>
<column name="varchar32k" type="varchar(32768)"/>
<column name="varchar64k" type="varchar(65536)"/>
<column name="varchar128k" type="varchar(131072)"/>
<column name="varchar256k" type="varchar(262144)"/>
<column name="varchar512k" type="varchar(524288)"/>
<column name="varchar1m" type="varchar(1048576)"/>
<column name="varchar2m" type="varchar(2097152)"/>
<column name="varchar4m" type="varchar(4194304)"/>
<column name="varchar8m" type="varchar(8388608)"/>
<column name="varchar16m" type="varchar(16777216)"/>
<column name="varchar32m" type="varchar(33554432)"/>
</createTable>
<createTable name="migtest_e_user" pkName="pk_migtest_e_user">
<column name="id" type="integer" primaryKey="true"/>
</createTable>
@@ -94,6 +94,10 @@
<dropTable name="drop_main_drop_ref_many"/>
<dropTable name="drop_ref_many" sequenceCol="id"/>
<dropTable name="drop_ref_one" sequenceCol="id"/>
<dropTable name="migtest_e_test_binary" sequenceCol="id"/>
<dropTable name="migtest_e_test_json" sequenceCol="id"/>
<dropTable name="migtest_e_test_lob" sequenceCol="id"/>
<dropTable name="migtest_e_test_varchar" sequenceCol="id"/>
<dropTable name="migtest_e_user" sequenceCol="id"/>
<dropTable name="migtest_mtm_c_migtest_mtm_m"/>
<dropTable name="migtest_mtm_m_migtest_mtm_c"/>
@@ -22,6 +22,10 @@
<dropTable name="drop_main_drop_ref_many"/>
<dropTable name="drop_ref_many" sequenceCol="id"/>
<dropTable name="drop_ref_one" sequenceCol="id"/>
<dropTable name="migtest_e_test_binary" sequenceCol="id"/>
<dropTable name="migtest_e_test_json" sequenceCol="id"/>
<dropTable name="migtest_e_test_lob" sequenceCol="id"/>
<dropTable name="migtest_e_test_varchar" sequenceCol="id"/>
<dropTable name="migtest_e_user" sequenceCol="id"/>
<dropTable name="migtest_mtm_c_migtest_mtm_m"/>
<dropTable name="migtest_mtm_m_migtest_mtm_c"/>
@@ -8,6 +8,102 @@ drop index ix_migtest_e_basic_indextest1 on migtest_e_basic;
drop index ix_migtest_e_basic_indextest5 on migtest_e_basic;
drop index ix_migtest_quoted_status1 on `migtest_QuOtEd`;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k mediumblob,
test_byte128k mediumblob,
test_byte256k mediumblob,
test_byte512k mediumblob,
test_byte1m mediumblob,
test_byte2m mediumblob,
test_byte4m mediumblob,
test_byte8m mediumblob,
test_byte16m longblob,
test_byte32m longblob,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 longtext,
lob256 longtext,
lob512 longtext,
lob1k longtext,
lob2k longtext,
lob4k longtext,
lob8k longtext,
lob16k longtext,
lob32k longtext,
lob64k longtext,
lob128k longtext,
lob256k longtext,
lob512k longtext,
lob1m longtext,
lob2m longtext,
lob4m longtext,
lob8m longtext,
lob16m longtext,
lob32m longtext,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k text,
varchar8k varchar(8193),
varchar16k text,
varchar32k text,
varchar64k mediumtext,
varchar128k mediumtext,
varchar256k mediumtext,
varchar512k mediumtext,
varchar1m mediumtext,
varchar2m mediumtext,
varchar4m mediumtext,
varchar8m mediumtext,
varchar16m longtext,
varchar32m longtext,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -81,6 +81,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,8 +1,8 @@
-1933396282, I__create_procs.sql
-1156696445, 1.0__initial.sql
-92753611, 1.1.sql
1625754872, 1.1.sql
-1097227916, 1.2__dropsFor_1.1.sql
141196883, 1.3.sql
1435550240, 1.4__dropsFor_1.3.sql
1044119359, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -8,6 +8,102 @@ drop index ix_migtest_e_basic_indextest1 on migtest_e_basic;
drop index ix_migtest_e_basic_indextest5 on migtest_e_basic;
drop index ix_migtest_quoted_status1 on `migtest_QuOtEd`;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k mediumblob,
test_byte128k mediumblob,
test_byte256k mediumblob,
test_byte512k mediumblob,
test_byte1m mediumblob,
test_byte2m mediumblob,
test_byte4m mediumblob,
test_byte8m mediumblob,
test_byte16m longblob,
test_byte32m longblob,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 longtext,
lob256 longtext,
lob512 longtext,
lob1k longtext,
lob2k longtext,
lob4k longtext,
lob8k longtext,
lob16k longtext,
lob32k longtext,
lob64k longtext,
lob128k longtext,
lob256k longtext,
lob512k longtext,
lob1m longtext,
lob2m longtext,
lob4m longtext,
lob8m longtext,
lob16m longtext,
lob32m longtext,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k text,
varchar8k varchar(8193),
varchar16k text,
varchar32k text,
varchar64k mediumtext,
varchar128k mediumtext,
varchar256k mediumtext,
varchar512k mediumtext,
varchar1m mediumtext,
varchar2m mediumtext,
varchar4m mediumtext,
varchar8m mediumtext,
varchar16m longtext,
varchar32m longtext,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -81,6 +81,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,8 +1,8 @@
-1933396282, I__create_procs.sql
-165038024, 1.0__initial.sql
-92753611, 1.1.sql
1625754872, 1.1.sql
-1097227916, 1.2__dropsFor_1.1.sql
141196883, 1.3.sql
1435550240, 1.4__dropsFor_1.3.sql
1044119359, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k blob,
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k blob,
test_byte128k blob,
test_byte256k blob,
test_byte512k blob,
test_byte1m blob,
test_byte2m blob,
test_byte4m blob,
test_byte8m blob,
test_byte16m blob,
test_byte32m blob,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k clob,
json8k clob,
json16k clob,
json32k clob,
json64k clob,
json128k clob,
json256k clob,
json512k clob,
json1m clob,
json2m clob,
json4m clob,
json8m clob,
json16m clob,
json32m clob,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k clob,
varchar8k clob,
varchar16k clob,
varchar32k clob,
varchar64k clob,
varchar128k clob,
varchar256k clob,
varchar512k clob,
varchar1m clob,
varchar2m clob,
varchar4m clob,
varchar8m clob,
varchar16m clob,
varchar32m clob,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -90,6 +90,14 @@ drop table if exists drop_ref_many;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m;
@@ -1,7 +1,7 @@
-588780599, 1.0__initial.sql
-2079708895, 1.1.sql
-2132614794, 1.1.sql
1530685455, 1.2__dropsFor_1.1.sql
-956168377, 1.3.sql
146295108, 1.4__dropsFor_1.3.sql
1047623430, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql
@@ -56,6 +56,102 @@ drop index ix_migtest_e_basic_indextest1;
drop index ix_migtest_e_basic_indextest5;
drop index ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id number(10) generated by default as identity not null,
test_byte16 raw(16),
test_byte256 raw(256),
test_byte512 raw(512),
test_byte1k raw(1024),
test_byte2k blob,
test_byte4k blob,
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k blob,
test_byte128k blob,
test_byte256k blob,
test_byte512k blob,
test_byte1m blob,
test_byte2m blob,
test_byte4m blob,
test_byte8m blob,
test_byte16m blob,
test_byte32m blob,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id number(10) generated by default as identity not null,
json255 varchar2(255),
json256 varchar2(256),
json512 varchar2(512),
json1k varchar2(1024),
json2k varchar2(2048),
json4k clob,
json8k clob,
json16k clob,
json32k clob,
json64k clob,
json128k clob,
json256k clob,
json512k clob,
json1m clob,
json2m clob,
json4m clob,
json8m clob,
json16m clob,
json32m clob,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id number(10) generated by default as identity not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id number(10) generated by default as identity not null,
varchar255 varchar2(255),
varchar256 varchar2(256),
varchar512 varchar2(512),
varchar1k varchar2(1024),
varchar2k varchar2(2048),
varchar4k clob,
varchar8k clob,
varchar16k clob,
varchar32k clob,
varchar64k clob,
varchar128k clob,
varchar256k clob,
varchar512k clob,
varchar1m clob,
varchar2m clob,
varchar4m clob,
varchar8m clob,
varchar16m clob,
varchar32m clob,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id number(10) generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -51,6 +51,50 @@ exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_binary cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_binary_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_json cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_json_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_lob cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_lob_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_varchar cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_varchar_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_user cascade constraints purge;
delimiter $$
declare
@@ -1,8 +1,8 @@
-126940583, 1.0__initial.sql
740264587, 1.1.sql
-1646771053, 1.1.sql
930172034, 1.2__dropsFor_1.1.sql
-647790612, 1.3.sql
1707389466, 1.4__dropsFor_1.3.sql
-116456403, 1.4__dropsFor_1.3.sql
1357801733, R__oracle_only_views.sql
561281075, R__order_views.sql
@@ -56,6 +56,106 @@ drop index ix_migtest_e_basic_indextest1;
drop index ix_migtest_e_basic_indextest5;
drop index ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id number(10) not null,
test_byte16 raw(16),
test_byte256 raw(256),
test_byte512 raw(512),
test_byte1k raw(1024),
test_byte2k blob,
test_byte4k blob,
test_byte8k blob,
test_byte16k blob,
test_byte32k blob,
test_byte64k blob,
test_byte128k blob,
test_byte256k blob,
test_byte512k blob,
test_byte1m blob,
test_byte2m blob,
test_byte4m blob,
test_byte8m blob,
test_byte16m blob,
test_byte32m blob,
constraint pk_migtest_e_test_binary primary key (id)
);
create sequence migtest_e_test_binary_seq;
create table migtest_e_test_json (
id number(10) not null,
json255 varchar2(255),
json256 varchar2(256),
json512 varchar2(512),
json1k varchar2(1024),
json2k varchar2(2048),
json4k clob,
json8k clob,
json16k clob,
json32k clob,
json64k clob,
json128k clob,
json256k clob,
json512k clob,
json1m clob,
json2m clob,
json4m clob,
json8m clob,
json16m clob,
json32m clob,
constraint pk_migtest_e_test_json primary key (id)
);
create sequence migtest_e_test_json_seq;
create table migtest_e_test_lob (
id number(10) not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create sequence migtest_e_test_lob_seq;
create table migtest_e_test_varchar (
id number(10) not null,
varchar255 varchar2(255),
varchar256 varchar2(256),
varchar512 varchar2(512),
varchar1k varchar2(1024),
varchar2k varchar2(2048),
varchar4k clob,
varchar8k clob,
varchar16k clob,
varchar32k clob,
varchar64k clob,
varchar128k clob,
varchar256k clob,
varchar512k clob,
varchar1m clob,
varchar2m clob,
varchar4m clob,
varchar8m clob,
varchar16m clob,
varchar32m clob,
constraint pk_migtest_e_test_varchar primary key (id)
);
create sequence migtest_e_test_varchar_seq;
create table migtest_e_user (
id number(10) not null,
constraint pk_migtest_e_user primary key (id)
@@ -51,6 +51,50 @@ exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_binary cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_binary_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_json cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_json_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_lob cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_lob_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_test_varchar cascade constraints purge;
delimiter $$
declare
expected_error exception;
pragma exception_init(expected_error, -2289);
begin
execute immediate 'drop sequence migtest_e_test_varchar_seq';
exception
when expected_error then null;
end;
$$;
drop table migtest_e_user cascade constraints purge;
delimiter $$
declare
@@ -1,8 +1,8 @@
21261569, 1.0__initial.sql
-123689547, 1.1.sql
-772002701, 1.1.sql
930172034, 1.2__dropsFor_1.1.sql
1369863782, 1.3.sql
1707389466, 1.4__dropsFor_1.3.sql
-116456403, 1.4__dropsFor_1.3.sql
1357801733, R__oracle_only_views.sql
561281075, R__order_views.sql
@@ -14,6 +14,102 @@ drop index if exists idxd_migtest_0;
drop index concurrently if exists ix_migtest_oto_child_lowername_id;
drop index if exists ix_migtest_oto_child_lowername;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 bytea,
test_byte256 bytea,
test_byte512 bytea,
test_byte1k bytea,
test_byte2k bytea,
test_byte4k bytea,
test_byte8k bytea,
test_byte16k bytea,
test_byte32k bytea,
test_byte64k bytea,
test_byte128k bytea,
test_byte256k bytea,
test_byte512k bytea,
test_byte1m bytea,
test_byte2m bytea,
test_byte4m bytea,
test_byte8m bytea,
test_byte16m bytea,
test_byte32m bytea,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 text,
lob256 text,
lob512 text,
lob1k text,
lob2k text,
lob4k text,
lob8k text,
lob16k text,
lob32k text,
lob64k text,
lob128k text,
lob256k text,
lob512k text,
lob1m text,
lob2m text,
lob4m text,
lob8m text,
lob16m text,
lob32m text,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar8k varchar(8192),
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m text,
varchar32m text,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -120,6 +120,14 @@ drop table if exists drop_ref_many cascade;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one cascade;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary cascade;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json cascade;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob cascade;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar cascade;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user cascade;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m cascade;
@@ -1,8 +1,8 @@
-22203872, 1.0__initial.sql
-1432572923, 1.1.sql
-449527326, 1.1.sql
-261111052, 1.2__dropsFor_1.1.sql
788727457, 1.3.sql
-596521697, 1.4__dropsFor_1.3.sql
-1352224731, 1.4__dropsFor_1.3.sql
783227075, R__multi_comments.sql
561281075, R__order_views.sql
283077354, R__pg_indexes.sql
@@ -14,6 +14,102 @@ drop index if exists idxd_migtest_0;
drop index concurrently if exists ix_migtest_oto_child_lowername_id;
drop index if exists ix_migtest_oto_child_lowername;
-- apply changes
create table migtest_e_test_binary (
id serial not null,
test_byte16 bytea,
test_byte256 bytea,
test_byte512 bytea,
test_byte1k bytea,
test_byte2k bytea,
test_byte4k bytea,
test_byte8k bytea,
test_byte16k bytea,
test_byte32k bytea,
test_byte64k bytea,
test_byte128k bytea,
test_byte256k bytea,
test_byte512k bytea,
test_byte1m bytea,
test_byte2m bytea,
test_byte4m bytea,
test_byte8m bytea,
test_byte16m bytea,
test_byte32m bytea,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id serial not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id serial not null,
lob255 text,
lob256 text,
lob512 text,
lob1k text,
lob2k text,
lob4k text,
lob8k text,
lob16k text,
lob32k text,
lob64k text,
lob128k text,
lob256k text,
lob512k text,
lob1m text,
lob2m text,
lob4m text,
lob8m text,
lob16m text,
lob32m text,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id serial not null,
varchar8k varchar(8192),
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m text,
varchar32m text,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id serial not null,
constraint pk_migtest_e_user primary key (id)
@@ -120,6 +120,14 @@ drop table if exists drop_ref_many cascade;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one cascade;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary cascade;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json cascade;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob cascade;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar cascade;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user cascade;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m cascade;
@@ -1,8 +1,8 @@
559327334, 1.0__initial.sql
-690271384, 1.1.sql
-788518640, 1.1.sql
-261111052, 1.2__dropsFor_1.1.sql
-1811829200, 1.3.sql
-596521697, 1.4__dropsFor_1.3.sql
-1352224731, 1.4__dropsFor_1.3.sql
783227075, R__multi_comments.sql
561281075, R__order_views.sql
283077354, R__pg_indexes.sql
@@ -82,7 +82,7 @@ create table migtest_e_basic (
status2 varchar(1) default 'N' not null,
name varchar(127),
description varchar(127),
description_file binary(4500),
description_file long binary,
json_list long varchar,
a_lob varchar(255) default 'X' not null,
some_date timestamp,
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer auto_increment not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(8192),
test_byte16k varbinary(16384),
test_byte32k long binary,
test_byte64k long binary,
test_byte128k long binary,
test_byte256k long binary,
test_byte512k long binary,
test_byte1m long binary,
test_byte2m long binary,
test_byte4m long binary,
test_byte8m long binary,
test_byte16m long binary,
test_byte32m long binary,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer auto_increment not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k varchar(4096),
json8k varchar(8192),
json16k varchar(16384),
json32k long varchar,
json64k long varchar,
json128k long varchar,
json256k long varchar,
json512k long varchar,
json1m long varchar,
json2m long varchar,
json4m long varchar,
json8m long varchar,
json16m long varchar,
json32m long varchar,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer auto_increment not null,
lob255 long varchar,
lob256 long varchar,
lob512 long varchar,
lob1k long varchar,
lob2k long varchar,
lob4k long varchar,
lob8k long varchar,
lob16k long varchar,
lob32k long varchar,
lob64k long varchar,
lob128k long varchar,
lob256k long varchar,
lob512k long varchar,
lob1m long varchar,
lob2m long varchar,
lob4m long varchar,
lob8m long varchar,
lob16m long varchar,
lob32m long varchar,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer auto_increment not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k long varchar,
varchar64k long varchar,
varchar128k long varchar,
varchar256k long varchar,
varchar512k long varchar,
varchar1m long varchar,
varchar2m long varchar,
varchar4m long varchar,
varchar8m long varchar,
varchar16m long varchar,
varchar32m long varchar,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer auto_increment not null,
constraint pk_migtest_e_user primary key (id)
@@ -63,7 +63,7 @@ alter table migtest_e_basic alter column a_lob set default 'X';
alter table migtest_e_basic alter column a_lob set not null;
alter table migtest_e_basic alter column user_id set default 23;
alter table migtest_e_basic alter column user_id set not null;
alter table migtest_e_basic add column description_file binary(4500);
alter table migtest_e_basic add column description_file long binary;
alter table migtest_e_basic add column old_boolean bit default false not null;
alter table migtest_e_basic add column old_boolean2 bit;
alter table migtest_e_basic add column eref_id integer;
@@ -21,6 +21,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,6 +1,6 @@
1278110701, 1.0__initial.sql
128425002, 1.1.sql
1999303200, 1.0__initial.sql
-2053964976, 1.1.sql
688811494, 1.2__dropsFor_1.1.sql
-680526370, 1.3.sql
677297367, 1.4__dropsFor_1.3.sql
1199670482, 1.3.sql
-252580551, 1.4__dropsFor_1.3.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(8192),
test_byte16k varbinary(16384),
test_byte32k varbinary(32768),
test_byte64k varbinary(65536),
test_byte128k varbinary(131072),
test_byte256k varbinary(262144),
test_byte512k varbinary(524288),
test_byte1m varbinary(1048576),
test_byte2m varbinary(2097152),
test_byte4m varbinary(4194304),
test_byte8m varbinary(8388608),
test_byte16m varbinary(16777216),
test_byte32m varbinary(33554432),
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer not null,
json255 varchar(255),
json256 varchar(256),
json512 varchar(512),
json1k varchar(1024),
json2k varchar(2048),
json4k varchar(4096),
json8k varchar(8192),
json16k varchar(16384),
json32k varchar(32768),
json64k varchar(65536),
json128k varchar(131072),
json256k varchar(262144),
json512k varchar(524288),
json1m varchar(1048576),
json2m varchar(2097152),
json4m varchar(4194304),
json8m varchar(8388608),
json16m varchar(16777216),
json32m varchar(33554432),
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer not null,
lob255 clob,
lob256 clob,
lob512 clob,
lob1k clob,
lob2k clob,
lob4k clob,
lob8k clob,
lob16k clob,
lob32k clob,
lob64k clob,
lob128k clob,
lob256k clob,
lob512k clob,
lob1m clob,
lob2m clob,
lob4m clob,
lob8m clob,
lob16m clob,
lob32m clob,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m varchar(16777216),
varchar32m varchar(33554432),
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer not null,
constraint pk_migtest_e_user primary key (id)
@@ -21,6 +21,10 @@ drop table if exists drop_main;
drop table if exists drop_main_drop_ref_many;
drop table if exists drop_ref_many;
drop table if exists drop_ref_one;
drop table if exists migtest_e_test_binary;
drop table if exists migtest_e_test_json;
drop table if exists migtest_e_test_lob;
drop table if exists migtest_e_test_varchar;
drop table if exists migtest_e_user;
drop table if exists migtest_mtm_c_migtest_mtm_m;
drop table if exists migtest_mtm_m_migtest_mtm_c;
@@ -1,7 +1,7 @@
238997470, 1.0__initial.sql
1828386122, 1.1.sql
-456448682, 1.1.sql
688811494, 1.2__dropsFor_1.1.sql
142780650, 1.3.sql
677297367, 1.4__dropsFor_1.3.sql
-252580551, 1.4__dropsFor_1.3.sql
2034589659, R__order_views_sqlite.sql
@@ -13,6 +13,102 @@ IF EXISTS (SELECT name FROM sys.indexes WHERE object_id = OBJECT_ID('migtest_e_b
IF EXISTS (SELECT name FROM sys.indexes WHERE object_id = OBJECT_ID('migtest_e_basic','U') AND name = 'ix_migtest_e_basic_indextest5') drop index ix_migtest_e_basic_indextest5 ON migtest_e_basic;
IF EXISTS (SELECT name FROM sys.indexes WHERE object_id = OBJECT_ID('"migtest_QuOtEd"','U') AND name = 'ix_migtest_quoted_status1') drop index ix_migtest_quoted_status1 ON "migtest_QuOtEd";
-- apply changes
create table migtest_e_test_binary (
id integer identity(1,1) not null,
test_byte16 image,
test_byte256 image,
test_byte512 image,
test_byte1k image,
test_byte2k image,
test_byte4k image,
test_byte8k image,
test_byte16k image,
test_byte32k image,
test_byte64k image,
test_byte128k image,
test_byte256k image,
test_byte512k image,
test_byte1m image,
test_byte2m image,
test_byte4m image,
test_byte8m image,
test_byte16m image,
test_byte32m image,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer identity(1,1) not null,
json255 text,
json256 text,
json512 text,
json1k text,
json2k text,
json4k text,
json8k text,
json16k text,
json32k text,
json64k text,
json128k text,
json256k text,
json512k text,
json1m text,
json2m text,
json4m text,
json8m text,
json16m text,
json32m text,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer identity(1,1) not null,
lob255 text,
lob256 text,
lob512 text,
lob1k text,
lob2k text,
lob4k text,
lob8k text,
lob16k text,
lob32k text,
lob64k text,
lob128k text,
lob256k text,
lob512k text,
lob1m text,
lob2m text,
lob4m text,
lob8m text,
lob16m text,
lob32m text,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer identity(1,1) not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k text,
varchar16k text,
varchar32k text,
varchar64k text,
varchar128k text,
varchar256k text,
varchar512k text,
varchar1m text,
varchar2m text,
varchar4m text,
varchar8m text,
varchar16m text,
varchar32m text,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer identity(1,1) not null,
constraint pk_migtest_e_user primary key (id)
@@ -43,6 +43,14 @@ IF OBJECT_ID('drop_ref_many', 'U') IS NOT NULL drop table drop_ref_many;
IF OBJECT_ID('drop_ref_many_seq', 'SO') IS NOT NULL drop sequence drop_ref_many_seq;
IF OBJECT_ID('drop_ref_one', 'U') IS NOT NULL drop table drop_ref_one;
IF OBJECT_ID('drop_ref_one_seq', 'SO') IS NOT NULL drop sequence drop_ref_one_seq;
IF OBJECT_ID('migtest_e_test_binary', 'U') IS NOT NULL drop table migtest_e_test_binary;
IF OBJECT_ID('migtest_e_test_binary_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_binary_seq;
IF OBJECT_ID('migtest_e_test_json', 'U') IS NOT NULL drop table migtest_e_test_json;
IF OBJECT_ID('migtest_e_test_json_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_json_seq;
IF OBJECT_ID('migtest_e_test_lob', 'U') IS NOT NULL drop table migtest_e_test_lob;
IF OBJECT_ID('migtest_e_test_lob_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_lob_seq;
IF OBJECT_ID('migtest_e_test_varchar', 'U') IS NOT NULL drop table migtest_e_test_varchar;
IF OBJECT_ID('migtest_e_test_varchar_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_varchar_seq;
IF OBJECT_ID('migtest_e_user', 'U') IS NOT NULL drop table migtest_e_user;
IF OBJECT_ID('migtest_e_user_seq', 'SO') IS NOT NULL drop sequence migtest_e_user_seq;
IF OBJECT_ID('migtest_mtm_c_migtest_mtm_m', 'U') IS NOT NULL drop table migtest_mtm_c_migtest_mtm_m;
@@ -1,8 +1,8 @@
891357544, I__create_procs.sql
254353963, 1.0__initial.sql
1327099983, 1.1.sql
262569028, 1.1.sql
-1431095657, 1.2__dropsFor_1.1.sql
1846195516, 1.3.sql
-1390979787, 1.4__dropsFor_1.3.sql
-225579996, 1.4__dropsFor_1.3.sql
1607822082, R__order_views_mssql.sql
@@ -93,7 +93,7 @@ create table migtest_e_basic (
status2 nvarchar(1) default 'N' not null,
name nvarchar(127),
description nvarchar(127),
description_file image,
description_file varbinary(max),
json_list nvarchar(max),
a_lob nvarchar(255) default 'X' not null,
some_date datetime2,
@@ -13,6 +13,106 @@ IF EXISTS (SELECT name FROM sys.indexes WHERE object_id = OBJECT_ID('migtest_e_b
IF EXISTS (SELECT name FROM sys.indexes WHERE object_id = OBJECT_ID('migtest_e_basic','U') AND name = 'ix_migtest_e_basic_indextest5') drop index ix_migtest_e_basic_indextest5 ON migtest_e_basic;
IF EXISTS (SELECT name FROM sys.indexes WHERE object_id = OBJECT_ID('"migtest_QuOtEd"','U') AND name = 'ix_migtest_quoted_status1') drop index ix_migtest_quoted_status1 ON "migtest_QuOtEd";
-- apply changes
create table migtest_e_test_binary (
id integer not null,
test_byte16 varbinary(16),
test_byte256 varbinary(256),
test_byte512 varbinary(512),
test_byte1k varbinary(1024),
test_byte2k varbinary(2048),
test_byte4k varbinary(4096),
test_byte8k varbinary(max),
test_byte16k varbinary(max),
test_byte32k varbinary(max),
test_byte64k varbinary(max),
test_byte128k varbinary(max),
test_byte256k varbinary(max),
test_byte512k varbinary(max),
test_byte1m varbinary(max),
test_byte2m varbinary(max),
test_byte4m varbinary(max),
test_byte8m varbinary(max),
test_byte16m varbinary(max),
test_byte32m varbinary(max),
constraint pk_migtest_e_test_binary primary key (id)
);
create sequence migtest_e_test_binary_seq as bigint start with 1;
create table migtest_e_test_json (
id integer not null,
json255 nvarchar(255),
json256 nvarchar(256),
json512 nvarchar(512),
json1k nvarchar(1024),
json2k nvarchar(2048),
json4k nvarchar(max),
json8k nvarchar(max),
json16k nvarchar(max),
json32k nvarchar(max),
json64k nvarchar(max),
json128k nvarchar(max),
json256k nvarchar(max),
json512k nvarchar(max),
json1m nvarchar(max),
json2m nvarchar(max),
json4m nvarchar(max),
json8m nvarchar(max),
json16m nvarchar(max),
json32m nvarchar(max),
constraint pk_migtest_e_test_json primary key (id)
);
create sequence migtest_e_test_json_seq as bigint start with 1;
create table migtest_e_test_lob (
id integer not null,
lob255 nvarchar(max),
lob256 nvarchar(max),
lob512 nvarchar(max),
lob1k nvarchar(max),
lob2k nvarchar(max),
lob4k nvarchar(max),
lob8k nvarchar(max),
lob16k nvarchar(max),
lob32k nvarchar(max),
lob64k nvarchar(max),
lob128k nvarchar(max),
lob256k nvarchar(max),
lob512k nvarchar(max),
lob1m nvarchar(max),
lob2m nvarchar(max),
lob4m nvarchar(max),
lob8m nvarchar(max),
lob16m nvarchar(max),
lob32m nvarchar(max),
constraint pk_migtest_e_test_lob primary key (id)
);
create sequence migtest_e_test_lob_seq as bigint start with 1;
create table migtest_e_test_varchar (
id integer not null,
varchar255 nvarchar(255),
varchar256 nvarchar(256),
varchar512 nvarchar(512),
varchar1k nvarchar(1024),
varchar2k nvarchar(2048),
varchar4k nvarchar(max),
varchar8k nvarchar(max),
varchar16k nvarchar(max),
varchar32k nvarchar(max),
varchar64k nvarchar(max),
varchar128k nvarchar(max),
varchar256k nvarchar(max),
varchar512k nvarchar(max),
varchar1m nvarchar(max),
varchar2m nvarchar(max),
varchar4m nvarchar(max),
varchar8m nvarchar(max),
varchar16m nvarchar(max),
varchar32m nvarchar(max),
constraint pk_migtest_e_test_varchar primary key (id)
);
create sequence migtest_e_test_varchar_seq as bigint start with 1;
create table migtest_e_user (
id integer not null,
constraint pk_migtest_e_user primary key (id)
@@ -80,7 +80,7 @@ alter table migtest_e_basic add default 'X' for a_lob;
EXEC usp_ebean_drop_default_constraint migtest_e_basic, user_id;
alter table migtest_e_basic alter column user_id integer not null;
alter table migtest_e_basic add default 23 for user_id;
alter table migtest_e_basic add description_file image;
alter table migtest_e_basic add description_file varbinary(max);
alter table migtest_e_basic add old_boolean bit default 0 not null;
alter table migtest_e_basic add old_boolean2 bit;
alter table migtest_e_basic add eref_id integer;
@@ -43,6 +43,14 @@ IF OBJECT_ID('drop_ref_many', 'U') IS NOT NULL drop table drop_ref_many;
IF OBJECT_ID('drop_ref_many_seq', 'SO') IS NOT NULL drop sequence drop_ref_many_seq;
IF OBJECT_ID('drop_ref_one', 'U') IS NOT NULL drop table drop_ref_one;
IF OBJECT_ID('drop_ref_one_seq', 'SO') IS NOT NULL drop sequence drop_ref_one_seq;
IF OBJECT_ID('migtest_e_test_binary', 'U') IS NOT NULL drop table migtest_e_test_binary;
IF OBJECT_ID('migtest_e_test_binary_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_binary_seq;
IF OBJECT_ID('migtest_e_test_json', 'U') IS NOT NULL drop table migtest_e_test_json;
IF OBJECT_ID('migtest_e_test_json_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_json_seq;
IF OBJECT_ID('migtest_e_test_lob', 'U') IS NOT NULL drop table migtest_e_test_lob;
IF OBJECT_ID('migtest_e_test_lob_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_lob_seq;
IF OBJECT_ID('migtest_e_test_varchar', 'U') IS NOT NULL drop table migtest_e_test_varchar;
IF OBJECT_ID('migtest_e_test_varchar_seq', 'SO') IS NOT NULL drop sequence migtest_e_test_varchar_seq;
IF OBJECT_ID('migtest_e_user', 'U') IS NOT NULL drop table migtest_e_user;
IF OBJECT_ID('migtest_e_user_seq', 'SO') IS NOT NULL drop sequence migtest_e_user_seq;
IF OBJECT_ID('migtest_mtm_c_migtest_mtm_m', 'U') IS NOT NULL drop table migtest_mtm_c_migtest_mtm_m;
@@ -1,8 +1,8 @@
891357544, I__create_procs.sql
-2080592180, 1.0__initial.sql
-579377447, 1.1.sql
105089711, 1.0__initial.sql
307269467, 1.1.sql
-1431095657, 1.2__dropsFor_1.1.sql
-1712303917, 1.3.sql
-1390979787, 1.4__dropsFor_1.3.sql
486442698, 1.3.sql
-225579996, 1.4__dropsFor_1.3.sql
1607822082, R__order_views_mssql.sql
@@ -11,6 +11,102 @@ drop index if exists ix_migtest_e_basic_indextest1;
drop index if exists ix_migtest_e_basic_indextest5;
drop index if exists ix_migtest_quoted_status1;
-- apply changes
create table migtest_e_test_binary (
id integer generated by default as identity not null,
test_byte16 bytea,
test_byte256 bytea,
test_byte512 bytea,
test_byte1k bytea,
test_byte2k bytea,
test_byte4k bytea,
test_byte8k bytea,
test_byte16k bytea,
test_byte32k bytea,
test_byte64k bytea,
test_byte128k bytea,
test_byte256k bytea,
test_byte512k bytea,
test_byte1m bytea,
test_byte2m bytea,
test_byte4m bytea,
test_byte8m bytea,
test_byte16m bytea,
test_byte32m bytea,
constraint pk_migtest_e_test_binary primary key (id)
);
create table migtest_e_test_json (
id integer generated by default as identity not null,
json255 json,
json256 json,
json512 json,
json1k json,
json2k json,
json4k json,
json8k json,
json16k json,
json32k json,
json64k json,
json128k json,
json256k json,
json512k json,
json1m json,
json2m json,
json4m json,
json8m json,
json16m json,
json32m json,
constraint pk_migtest_e_test_json primary key (id)
);
create table migtest_e_test_lob (
id integer generated by default as identity not null,
lob255 text,
lob256 text,
lob512 text,
lob1k text,
lob2k text,
lob4k text,
lob8k text,
lob16k text,
lob32k text,
lob64k text,
lob128k text,
lob256k text,
lob512k text,
lob1m text,
lob2m text,
lob4m text,
lob8m text,
lob16m text,
lob32m text,
constraint pk_migtest_e_test_lob primary key (id)
);
create table migtest_e_test_varchar (
id integer generated by default as identity not null,
varchar255 varchar(255),
varchar256 varchar(256),
varchar512 varchar(512),
varchar1k varchar(1024),
varchar2k varchar(2048),
varchar4k varchar(4096),
varchar8k varchar(8192),
varchar16k varchar(16384),
varchar32k varchar(32768),
varchar64k varchar(65536),
varchar128k varchar(131072),
varchar256k varchar(262144),
varchar512k varchar(524288),
varchar1m varchar(1048576),
varchar2m varchar(2097152),
varchar4m varchar(4194304),
varchar8m varchar(8388608),
varchar16m text,
varchar32m text,
constraint pk_migtest_e_test_varchar primary key (id)
);
create table migtest_e_user (
id integer generated by default as identity not null,
constraint pk_migtest_e_user primary key (id)
@@ -120,6 +120,14 @@ drop table if exists drop_ref_many cascade;
drop sequence if exists drop_ref_many_seq;
drop table if exists drop_ref_one cascade;
drop sequence if exists drop_ref_one_seq;
drop table if exists migtest_e_test_binary cascade;
drop sequence if exists migtest_e_test_binary_seq;
drop table if exists migtest_e_test_json cascade;
drop sequence if exists migtest_e_test_json_seq;
drop table if exists migtest_e_test_lob cascade;
drop sequence if exists migtest_e_test_lob_seq;
drop table if exists migtest_e_test_varchar cascade;
drop sequence if exists migtest_e_test_varchar_seq;
drop table if exists migtest_e_user cascade;
drop sequence if exists migtest_e_user_seq;
drop table if exists migtest_mtm_c_migtest_mtm_m cascade;
@@ -1,7 +1,7 @@
1799266243, 1.0__initial.sql
-1967687506, 1.1.sql
1695259133, 1.1.sql
-261111052, 1.2__dropsFor_1.1.sql
-526466104, 1.3.sql
-596521697, 1.4__dropsFor_1.3.sql
-1352224731, 1.4__dropsFor_1.3.sql
561281075, R__order_views.sql