Diesel migrations
This commit is contained in:
2
migrations/2022-11-04-175349_create_triggers/down.sql
Normal file
2
migrations/2022-11-04-175349_create_triggers/down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE triggers
|
7
migrations/2022-11-04-175349_create_triggers/up.sql
Normal file
7
migrations/2022-11-04-175349_create_triggers/up.sql
Normal file
@ -0,0 +1,7 @@
|
||||
-- Your SQL goes here
|
||||
|
||||
CREATE TABLE triggers (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
tag VARCHAR(16) NOT NULL,
|
||||
text TEXT NOT NULL
|
||||
)
|
Reference in New Issue
Block a user