experiment some thing spicy
This commit is contained in:
parent
ce28a757b1
commit
3411ae333d
18 changed files with 211 additions and 10 deletions
0
server/data/migrations/20231127070350_init.down.sql
Normal file
0
server/data/migrations/20231127070350_init.down.sql
Normal file
10
server/data/migrations/20231127070350_init.up.sql
Normal file
10
server/data/migrations/20231127070350_init.up.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
-- slqlite3
|
||||
-- create users table
|
||||
CREATE TABLE users (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
email TEXT NOT NULL,
|
||||
password TEXT NOT NULL,
|
||||
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue