chore: update migration content for sample db
This commit is contained in:
parent
aa4ac60016
commit
7dc1477f1f
5 changed files with 8 additions and 6 deletions
|
@ -1,2 +1,3 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
|
||||
DROP TABLE tags;
|
|
@ -0,0 +1,7 @@
|
|||
-- Your SQL goes here
|
||||
|
||||
CREATE TABLE tags (
|
||||
id serial PRIMARY KEY,
|
||||
name text NOT NULL UNIQUE CHECK(length(name) > 0),
|
||||
created_at timestamp NOT NULL DEFAULT current_timestamp
|
||||
);
|
|
@ -1,2 +0,0 @@
|
|||
-- Your SQL goes here
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
-- This file should undo anything in `up.sql`
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
-- Your SQL goes here
|
||||
|
Reference in a new issue