my $sqlt;
$sqlt = SQL::Translator->new(
no_comments => 1,
- show_warnings => 1,
+ show_warnings => 0,
add_drop_table => 1,
);
-- Hello emptytagdef
"emptytagdef" character varying DEFAULT '',
"another_id" integer DEFAULT '2',
- "timest" timestamp(0),
+ "timest" timestamp,
PRIMARY KEY ("id"),
CONSTRAINT "emailuniqueindex" UNIQUE ("email")
);
);
DROP VIEW "email_list";
-CREATE VIEW "email_list" ( "email" ) AS (
- SELECT email FROM Basic WHERE email IS NOT NULL
- );
+CREATE VIEW "email_list" ( "email" ) AS
+ SELECT email FROM Basic WHERE (email IS NOT NULL)
+;
ALTER TABLE "Basic" ADD FOREIGN KEY ("another_id")
REFERENCES "Another" ("id") DEFERRABLE;