added unit tests for schema detection

fixed some issues with schema detection
This commit is contained in:
Carsten Brandt
2014-06-25 03:09:28 +02:00
parent 1cef60db17
commit 4f95fcd91f
17 changed files with 521 additions and 195 deletions

View File

@ -99,7 +99,8 @@ CREATE TABLE "type" (
numeric_col decimal(5,2) DEFAULT '33.22',
time timestamp NOT NULL DEFAULT '2002-01-01 00:00:00',
bool_col smallint NOT NULL,
bool_col2 smallint DEFAULT '1'
bool_col2 smallint DEFAULT '1',
ts_default TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
INSERT INTO "profile" (description) VALUES ('profile customer 1');