From 0ad35b9b50dfaa1083f3f5acc633ec769bc10e37 Mon Sep 17 00:00:00 2001
From: Andrew Guschin <saintruler@gmail.com>
Date: Sun, 18 Apr 2021 16:25:48 +0400
Subject: Initial commit

---
 migrations/2021-04-18-102936_create_posts/up.sql | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 migrations/2021-04-18-102936_create_posts/up.sql

(limited to 'migrations/2021-04-18-102936_create_posts/up.sql')

diff --git a/migrations/2021-04-18-102936_create_posts/up.sql b/migrations/2021-04-18-102936_create_posts/up.sql
new file mode 100644
index 0000000..ac26995
--- /dev/null
+++ b/migrations/2021-04-18-102936_create_posts/up.sql
@@ -0,0 +1,7 @@
+-- Your SQL goes here
+CREATE TABLE posts (
+  id INTEGER PRIMARY KEY NOT NULL,
+  title VARCHAR NOT NULL,
+  body TEXT NOT NULL,
+  published BOOLEAN NOT NULL DEFAULT 'f'
+)
-- 
cgit v1.2.3

