Reference scripts

This commit is contained in:
Roland Praml committed 2022-03-21 11:08:54 +01:00
1 parent 0a1acb3f9b
commit 327babbfa2
12 files changed
+32 -188

No files matched your search

@@ -185,48 +185,15 @@ alter table migtest_e_history6 add period system_time (sys_period_start,sys_peri
-- apply post alter
create unique index uq_migtest_e_basic_indextest2 on migtest_e_basic(indextest2) exclude null keys;
create unique index uq_migtest_e_basic_indextest6 on migtest_e_basic(indextest6) exclude null keys;
create table migtest_e_history2_history (
id integer not null,
test_string varchar(255),
obsolete_string1 varchar(255),
obsolete_string2 varchar(255),
sys_period_start timestamp(12) not null,
sys_period_end timestamp(12) not null,
sys_period_txn timestamp(12)
);
create table migtest_e_history2_history as (select * from migtest_e_history2) with no data;
alter table migtest_e_history2 add versioning use history table migtest_e_history2_history;
create table migtest_e_history3_history (
id integer not null,
test_string varchar(255),
sys_period_start timestamp(12) not null,
sys_period_end timestamp(12) not null,
sys_period_txn timestamp(12)
);
create table migtest_e_history3_history as (select * from migtest_e_history3) with no data;
alter table migtest_e_history3 add versioning use history table migtest_e_history3_history;
create table migtest_e_history4_history (
id integer not null,
test_number integer,
sys_period_start timestamp(12) not null,
sys_period_end timestamp(12) not null,
sys_period_txn timestamp(12)
);
create table migtest_e_history4_history as (select * from migtest_e_history4) with no data;
alter table migtest_e_history4 add versioning use history table migtest_e_history4_history;
create table migtest_e_history5_history (
id integer not null,
test_number integer,
sys_period_start timestamp(12) not null,
sys_period_end timestamp(12) not null,
sys_period_txn timestamp(12)
);
create table migtest_e_history5_history as (select * from migtest_e_history5) with no data;
alter table migtest_e_history5 add versioning use history table migtest_e_history5_history;
create table migtest_e_history6_history (
id integer not null,
test_number1 integer,
test_number2 integer not null,
sys_period_start timestamp(12) not null,
sys_period_end timestamp(12) not null,
sys_period_txn timestamp(12)
);
create table migtest_e_history6_history as (select * from migtest_e_history6) with no data;
alter table migtest_e_history6 add versioning use history table migtest_e_history6_history;
alter table migtest_e_ref add constraint uq_migtest_e_ref_name unique (name);
-- foreign keys and indices