fix: [db] Update database schema to 80

pull/8183/head
Jakub Onderka 2022-03-02 16:54:36 +01:00
parent 97f4df6a37
commit 778ed607ac
1 changed files with 98 additions and 1 deletions

View File

@ -5826,6 +5826,96 @@
"extra": ""
}
],
"sharing_group_blueprints": [
{
"column_name": "id",
"is_nullable": "NO",
"data_type": "int",
"character_maximum_length": null,
"numeric_precision": "10",
"collation_name": null,
"column_type": "int(11)",
"column_default": null,
"extra": "auto_increment"
},
{
"column_name": "uuid",
"is_nullable": "NO",
"data_type": "varchar",
"character_maximum_length": "40",
"numeric_precision": null,
"collation_name": "utf8_bin",
"column_type": "varchar(40)",
"column_default": null,
"extra": ""
},
{
"column_name": "name",
"is_nullable": "NO",
"data_type": "varchar",
"character_maximum_length": "191",
"numeric_precision": null,
"collation_name": "utf8mb4_unicode_ci",
"column_type": "varchar(191)",
"column_default": null,
"extra": ""
},
{
"column_name": "timestamp",
"is_nullable": "NO",
"data_type": "int",
"character_maximum_length": null,
"numeric_precision": "10",
"collation_name": null,
"column_type": "int(11)",
"column_default": "0",
"extra": ""
},
{
"column_name": "user_id",
"is_nullable": "NO",
"data_type": "int",
"character_maximum_length": null,
"numeric_precision": "10",
"collation_name": null,
"column_type": "int(11)",
"column_default": null,
"extra": ""
},
{
"column_name": "org_id",
"is_nullable": "NO",
"data_type": "int",
"character_maximum_length": null,
"numeric_precision": "10",
"collation_name": null,
"column_type": "int(11)",
"column_default": null,
"extra": ""
},
{
"column_name": "sharing_group_id",
"is_nullable": "YES",
"data_type": "int",
"character_maximum_length": null,
"numeric_precision": "10",
"collation_name": null,
"column_type": "int(11)",
"column_default": "NULL",
"extra": ""
},
{
"column_name": "rules",
"is_nullable": "YES",
"data_type": "text",
"character_maximum_length": "65535",
"numeric_precision": null,
"collation_name": "utf8mb4_unicode_ci",
"column_type": "text",
"column_default": "NULL",
"extra": ""
}
],
"sharing_group_orgs": [
{
"column_name": "id",
@ -8144,6 +8234,13 @@
"sync_user_id": false,
"organisation_uuid": false
},
"sharing_group_blueprints": {
"id": true,
"uuid": false,
"name": false,
"org_id": false,
"sharing_group_id": false
},
"sharing_group_orgs": {
"id": true,
"org_id": false,
@ -8263,5 +8360,5 @@
"id": true
}
},
"db_version": "79"
"db_version": "80"
}