new laptop setup
This commit is contained in:
Executable
+2
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE feed_item
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE feed (
|
||||
id SERIAL PRIMARY KEY,
|
||||
user_id INTEGER NOT NULL REFERENCES users(id) DEFERRABLE INITIALLY DEFERRED,
|
||||
title VARCHAR NOT NULL,
|
||||
url VARCHAR NOT NULL,
|
||||
UNIQUE (url)
|
||||
)
|
||||
Reference in New Issue
Block a user