fix: run CREATE_TABLE_ENTRIES and CREATE_TABLE_MEMBERSHIPS
This commit is contained in:
parent
1a6b48078a
commit
c46eb3b807
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,8 @@ impl DataManager {
|
|||
|
||||
execute!(&conn, common::CREATE_TABLE_USERS, []).unwrap();
|
||||
execute!(&conn, common::CREATE_TABLE_PAGES, []).unwrap();
|
||||
execute!(&conn, common::CREATE_TABLE_ENTRIES, []).unwrap();
|
||||
execute!(&conn, common::CREATE_TABLE_MEMBERSHIPS, []).unwrap();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
pub const CREATE_TABLE_USERS: &str = include_str!("./sql/create_users.sql");
|
||||
pub const CREATE_TABLE_PAGES: &str = include_str!("./sql/create_pages.sql");
|
||||
pub const CREATE_TABLE_ENTRIES: &str = include_str!("./sql/create_entries.sql");
|
||||
pub const CREATE_TABLE_MEMBERSHIPS: &str = include_str!("./sql/create_memberships.sql");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue