Add a file to collect blog notes and migrations

This commit is contained in:
swagg boi 2023-11-21 13:37:16 -05:00
parent a61ae7b65c
commit 1a4e30c5c2
2 changed files with 20 additions and 0 deletions

12
BLOG.md Normal file
View file

@ -0,0 +1,12 @@
# Migrations
All migrations go into a single file I'll creatively call `migrations`:
-- 1 up
CREATE TABLE IF NOT EXISTS pastes (
paste_id SERIAL PRIMARY KEY,
paste_body TEXT
);
-- 1 down
DROP TABLE pastes;

8
migrations Normal file
View file

@ -0,0 +1,8 @@
-- 1 up
CREATE TABLE IF NOT EXISTS pastes (
paste_id SERIAL PRIMARY KEY,
paste_body TEXT
);
-- 1 down
DROP TABLE pastes;