Started rocket backend
This commit is contained in:
0
migrations/.keep
Normal file
0
migrations/.keep
Normal file
2
migrations/2024-08-09-133227_create_users/down.sql
Normal file
2
migrations/2024-08-09-133227_create_users/down.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- This file should undo anything in `up.sql`
|
||||
DROP TABLE users;
|
||||
6
migrations/2024-08-09-133227_create_users/up.sql
Normal file
6
migrations/2024-08-09-133227_create_users/up.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
-- Your SQL goes here
|
||||
CREATE TABLE users (
|
||||
id INT PRIMARY KEY,
|
||||
email VARCHAR(64) NOT NULL,
|
||||
name VARCHAR(255)
|
||||
);
|
||||
Reference in New Issue
Block a user