Diesel migrations
This commit is contained in:
2
migrations/2022-11-04-171408_create_chats/down.sql
Normal file
2
migrations/2022-11-04-171408_create_chats/down.sql
Normal file
@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE chats
|
5
migrations/2022-11-04-171408_create_chats/up.sql
Normal file
5
migrations/2022-11-04-171408_create_chats/up.sql
Normal file
@ -0,0 +1,5 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE chats (
|
||||
id BIGINT PRIMARY KEY,
|
||||
name TEXT NOT NULL
|
||||
)
|
Reference in New Issue
Block a user