mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-24 00:00:46 +02:00
+ Started work on Sqlite
+ Started work on moving migrations into code instead of Dockerfile
This commit is contained in:
1
db/migrations_sqlite/000001_posts.down.sql
Normal file
1
db/migrations_sqlite/000001_posts.down.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP table t_posts;
|
||||
6
db/migrations_sqlite/000001_posts.up.sql
Normal file
6
db/migrations_sqlite/000001_posts.up.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
CREATE TABLE IF NOT EXISTS "t_posts" (
|
||||
"id" INTEGER,
|
||||
"name" TEXT,
|
||||
"content" TEXT,
|
||||
PRIMARY KEY("id" AUTOINCREMENT)
|
||||
);
|
||||
Reference in New Issue
Block a user