Setup for postgres database & schema for blogposts.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS posts (
|
||||
id serial PRIMARY KEY,
|
||||
title text,
|
||||
created timestamp DEFAULT CURRENT_TIMESTAMP,
|
||||
updated timestamp DEFAULT CURRENT_TIMESTAMP,
|
||||
markdown text
|
||||
)
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS seed (
|
||||
seed_id serial PRIMARY KEY,
|
||||
filename text,
|
||||
run_date timestamp DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
Reference in New Issue
Block a user