mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
Reference scripts
This commit is contained in:
1 parent
a8f390c3b7
commit
e4ddcbd40a
61 files changed
-326
No files matched your search
@@ -33,8 +33,6 @@ create table migtest_mtm_m_phone_numbers (
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
update migtest_e_basic set status = 'A' where status is null;
|
||||
|
||||
-- db2 does not support parial null indices :( - so we have to clean;
|
||||
@@ -42,16 +40,11 @@ update migtest_e_basic set status = 'N' where id = 1;
|
||||
|
||||
insert into migtest_e_user (id) select distinct user_id from migtest_e_basic;
|
||||
|
||||
|
||||
-- NOTE: table has @History - special migration may be necessary
|
||||
update migtest_e_history2 set test_string = 'unknown' where test_string is null;
|
||||
|
||||
|
||||
|
||||
-- NOTE: table has @History - special migration may be necessary
|
||||
update migtest_e_history6 set test_number1 = 42 where test_number1 is null;
|
||||
|
||||
|
||||
-- apply alter tables
|
||||
alter table migtest_ckey_detail add column one_key integer;
|
||||
alter table migtest_ckey_detail add column two_key varchar(127);
|
||||
|
||||
Reference in new issue
Block a user