Cleaned up directory, created documentation and readme
This commit is contained in:
parent
8a70db9b42
commit
d6aee1e99d
16 changed files with 71 additions and 2 deletions
8
site/migrations/2020-10-21-144212_create_posts/up.sql
Normal file
8
site/migrations/2020-10-21-144212_create_posts/up.sql
Normal file
|
@ -0,0 +1,8 @@
|
|||
-- Your SQL goes here
|
||||
CREATE TABLE posts (
|
||||
id INTEGER PRIMARY KEY,
|
||||
title VARCHAR NOT NULL,
|
||||
body TEXT NOT NULL,
|
||||
published BOOLEAN NOT NULL DEFAULT 'f',
|
||||
publish_date TIMESTAMP NOT NULL
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue