Pi 4 сар өмнө
parent
commit
3f84bd7519

+ 8 - 0
util-sqlpage/sqlpage/migrations/004_upload.sql

@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS upload;
+CREATE TABLE IF NOT EXISTS upload(
+  hash text PRIMARY KEY,
+  content text,
+  mime text,
+  qr text,
+  created timestamp
+);

+ 9 - 0
util-sqlpage/sqlpage/migrations/005_upload.sql

@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS upload;
+CREATE TABLE IF NOT EXISTS upload(
+  hash text PRIMARY KEY,
+  content text,
+  name text,
+  mime text,
+  qr text,
+  created timestamp
+);