X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F46xml-to-pg.t;h=e3b99956c526719df272770a14129cc77eb2123e;hb=227d4a0545351dbdc8f907b4e0dc06e42a46ccaa;hp=dcdb01f0594f93c06483ea10e24df75689e4d77b;hpb=124b192cb3e01a3fe6441874c29918609d24de65;p=dbsrgits%2FSQL-Translator.git diff --git a/t/46xml-to-pg.t b/t/46xml-to-pg.t index dcdb01f..e3b9995 100644 --- a/t/46xml-to-pg.t +++ b/t/46xml-to-pg.t @@ -44,16 +44,18 @@ CREATE TABLE "Basic" ( "explicitemptystring" character varying DEFAULT '', -- Hello emptytagdef "emptytagdef" character varying DEFAULT '', - "another_id" integer DEFAULT '2', + "another_id" integer DEFAULT 2, "timest" timestamp, PRIMARY KEY ("id"), - CONSTRAINT "emailuniqueindex" UNIQUE ("email") + CONSTRAINT "emailuniqueindex" UNIQUE ("email"), + CONSTRAINT "very_long_index_name_on_title_field_which_should_be_truncated_for_various_rdbms" UNIQUE ("title") ); CREATE INDEX "titleindex" on "Basic" ("title"); DROP TABLE "Another" CASCADE; CREATE TABLE "Another" ( "id" serial NOT NULL, + "num" numeric(10,2), PRIMARY KEY ("id") );