소스 검색

add migrations

Pi 4 달 전
부모
커밋
3f84bd7519
2개의 변경된 파일17개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      util-sqlpage/sqlpage/migrations/004_upload.sql
  2. 9 0
      util-sqlpage/sqlpage/migrations/005_upload.sql

+ 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
+);