X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F30sqlt-new-diff-sqlite.t;h=34f6fb1c4dfb07a3af84390f0641d8ac9776b848;hb=6440741a562ff8bb42c79282d30f3562c4336578;hp=ef7fee72e4ae50f8096506d404d92b5c93cbb91c;hpb=2d23c1e1b5e4e66212eef0bba029664b60fd8cb7;p=dbsrgits%2FSQL-Translator.git diff --git a/t/30sqlt-new-diff-sqlite.t b/t/30sqlt-new-diff-sqlite.t index ef7fee7..34f6fb1 100644 --- a/t/30sqlt-new-diff-sqlite.t +++ b/t/30sqlt-new-diff-sqlite.t @@ -128,10 +128,11 @@ CREATE TEMPORARY TABLE person_temp_alter ( weight double(11,2), iq int(11) DEFAULT 0, is_rock_star tinyint(4) DEFAULT 1, + value double(8,2) DEFAULT 0.00, physical_description text ); -INSERT INTO person_temp_alter( person_id, name, age, weight, iq, is_rock_star, physical_description) SELECT person_id, name, age, weight, iq, is_rock_star, physical_description FROM person; +INSERT INTO person_temp_alter( person_id, name, age, weight, iq, value, physical_description) SELECT person_id, name, age, weight, iq, value, description FROM person; DROP TABLE person; @@ -142,6 +143,7 @@ CREATE TABLE person ( weight double(11,2), iq int(11) DEFAULT 0, is_rock_star tinyint(4) DEFAULT 1, + value double(8,2) DEFAULT 0.00, physical_description text ); @@ -151,7 +153,7 @@ CREATE UNIQUE INDEX UC_person_id02 ON person (person_id); CREATE UNIQUE INDEX UC_age_name02 ON person (age, name); -INSERT INTO person SELECT person_id, name, age, weight, iq, is_rock_star, physical_description FROM person_temp_alter; +INSERT INTO person SELECT person_id, name, age, weight, iq, is_rock_star, value, physical_description FROM person_temp_alter; DROP TABLE person_temp_alter;