From 09deeff71694c8baa68e77dd8285e3a245d2d284 Mon Sep 17 00:00:00 2001 From: jay Date: Thu, 27 Sep 2018 21:42:44 +0800 Subject: [PATCH] add lottery schema --- 20180927-1.sql | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 20180927-1.sql diff --git a/20180927-1.sql b/20180927-1.sql new file mode 100644 index 0000000..d381f6f --- /dev/null +++ b/20180927-1.sql @@ -0,0 +1,72 @@ +CREATE TABLE public.lottery +( + id uuid DEFAULT public.uuid_generate_v4() PRIMARY KEY NOT NULL, + type varchar(128) NOT NULL, + message varchar(1024) DEFAULT '' NOT NULL, + ctime timestamp with time zone DEFAULT current_timestamp NOT NULL, + mtime timestamp with time zone DEFAULT current_timestamp NOT NULL +); + +insert into "public"."lottery" ("type", "message") +('leg', '0024.jpg'), +('leg', '0025.jpg'), +('leg', '0029.jpg'), +('leg', '0032.jpg'), +('leg', '0033.jpg'), +('leg', '0039.jpg'), +('leg', '0040.jpg'), +('leg', '0047.jpg'), +('leg', '0049.jpg'), +('leg', '0050.jpg'), +('leg', 'DSCF0494.jpg'), +('leg', 'DSCF0496.jpg'), +('leg', 'DSCF0500.jpg'), +('leg', 'DSCF0504.jpg'), +('leg', 'DSCF0521.jpg'), +('leg', 'DSCF0530.jpg'), +('leg', 'DSCF0539.jpg'), +('leg', 'DSCF0596.jpg'), +('leg', 'DSCF1795.jpg'), +('leg', 'DSCF1798.jpg'), +('leg', 'DSCF1799.jpg'), +('leg', 'DSCF1818.jpg'), +('leg', 'DSCF1819.jpg'), +('leg', 'DSCF1858.jpg'), +('leg', 'DSCF7308.jpg'), +('leg', 'DSCF7309.jpg'), +('leg', 'DSCF7310.jpg'), +('leg', 'DSCF7317.jpg'), +('leg', 'DSCF7329.jpg'), +('leg', 'DSCF7330.jpg'), +('leg', 'DSCF7333.jpg'), +('leg', 'DSCF7334.jpg'), +('leg', 'DSCF7339.jpg'), +('leg', 'DSCF7341.jpg'), +('leg', 'DSCF8809.jpg'), +('leg', 'DSCF8810.jpg'), +('leg', 'DSCF8812.jpg'), +('leg', 'DSCF8837.jpg'), +('leg', 'DSCF8840.jpg'), +('leg', 'DSCF8860.jpg'), +('leg', 'DSCF8861.jpg'), +('leg', 'DSCF8892.jpg'), +('leg', 'DSCF8896.jpg'), +('leg', 'DSCF8898.jpg'), +('leg', 'DSCF9541.jpg'), +('leg', 'DSCF9553.jpg'), +('leg', 'DSCF9577.jpg'), +('leg', 'DSCF9608.jpg'), +('leg', 'DSCF9614.jpg'), +('leg', 'DSCF9623.jpg'), +('leg', 'DSCF9624.jpg'), +('leg', 'DSCF9644.jpg'), +('leg', 'DSCF9647.jpg'), +('leg', 'DSCF9649.jpg'), +('leg', 'DSCF9650.jpg'), +('leg', 'DSCF9651.jpg'), +('leg', 'DSCF9652.jpg'), +('leg', 'DSCF9658.jpg'), +('leg', 'DSCF9666.jpg'), +('leg', 'DSCF9667.jpg'), +('leg', 'DSCF9668.jpg'), +('leg', 'DSCF9669.jpg'); \ No newline at end of file