1
0
mirror of https://gitlab.com/MisterBiggs/diesel_tutorial.git synced 2025-08-02 11:41:26 +00:00

tut checkpoint

This commit is contained in:
2025-05-09 19:01:08 -06:00
commit ab9a94ac1e
16 changed files with 397 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,7 @@
-- Your SQL goes here
CREATE TABLE posts (
id SERIAL PRIMARY KEY,
title VARCHAR NOT NULL,
body TEXT NOT NULL,
published BOOLEAN NOT NULL DEFAULT FALSE
)