first working instance

This commit is contained in:
Leonard Lorenz 2020-10-22 00:17:52 +02:00
commit cfbeb07f37
13 changed files with 2555 additions and 0 deletions

0
migrations/.gitkeep Normal file
View file

View file

@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP TABLE posts

View 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
)