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:
6
react-rust-postgres/backend/src/schema.rs
Normal file
6
react-rust-postgres/backend/src/schema.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
table! {
|
||||
users (id) {
|
||||
id -> Int4,
|
||||
login -> Text,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user