Move database into the main app
I was having issues including the lib as a crate, its fine just being a module for now.
This commit is contained in:
0
migrations/.gitkeep
Normal file
0
migrations/.gitkeep
Normal file
1
migrations/2020-07-08-000046_setup_auth/down.sql
Normal file
1
migrations/2020-07-08-000046_setup_auth/down.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP TABLE users
|
||||
5
migrations/2020-07-08-000046_setup_auth/up.sql
Normal file
5
migrations/2020-07-08-000046_setup_auth/up.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE users (
|
||||
id INTEGER PRIMARY KEY NOT NULL,
|
||||
username TEXT NOT NULL,
|
||||
password TEXT NOT NULL
|
||||
)
|
||||
Reference in New Issue
Block a user