Compare commits

...

1 Commits

Author SHA1 Message Date
root 09deeff716 add lottery schema 2018-09-27 21:42:44 +08:00
+72
View File
@@ -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');