add: app_data table
This commit is contained in:
parent
f802a1c8ab
commit
5c520f4308
6 changed files with 249 additions and 0 deletions
|
@ -30,3 +30,4 @@ pub const CREATE_TABLE_INVITE_CODES: &str = include_str!("./sql/create_invite_co
|
|||
pub const CREATE_TABLE_DOMAINS: &str = include_str!("./sql/create_domains.sql");
|
||||
pub const CREATE_TABLE_SERVICES: &str = include_str!("./sql/create_services.sql");
|
||||
pub const CREATE_TABLE_PRODUCTS: &str = include_str!("./sql/create_products.sql");
|
||||
pub const CREATE_TABLE_APP_DATA: &str = include_str!("./sql/create_app_data.sql");
|
||||
|
|
7
crates/core/src/database/drivers/sql/create_app_data.sql
Normal file
7
crates/core/src/database/drivers/sql/create_app_data.sql
Normal file
|
@ -0,0 +1,7 @@
|
|||
CREATE TABLE IF NOT EXISTS app_data (
|
||||
id BIGINT NOT NULL PRIMARY KEY,
|
||||
owner BIGINT NOT NULL,
|
||||
app BIGINT NOT NULL,
|
||||
k TEXT NOT NULL,
|
||||
v TEXT NOT NULL
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue