react-rust-postgres: add connection to postgres with migrations
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE users;
|
@@ -0,0 +1,4 @@
|
||||
CREATE TABLE users (
|
||||
id SERIAL PRIMARY KEY,
|
||||
login TEXT UNIQUE NOT NULL
|
||||
);
|
Reference in New Issue
Block a user