feat: add custom css for board and custom classes in advanced options for items (#512)
* feat: add custom css for board and custom classes in advanced options for items * chore: add mysql migration * fix: test not working * fix: format issues * fix: typecheck issue * fix: build issue * chore: add missing translations * fix: merge issues related to migrations * fix: format issues * fix: merge issue with migration * fix: format issue
This commit is contained in:
1
packages/db/migrations/mysql/0002_flimsy_deathbird.sql
Normal file
1
packages/db/migrations/mysql/0002_flimsy_deathbird.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `item` ADD `advanced_options` text DEFAULT ('{"json": {}}') NOT NULL;
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"version": "5",
|
||||
"dialect": "mysql",
|
||||
"id": "e7a373e1-9f36-4910-9f2b-ac6fd5e79145",
|
||||
"prevId": "ba2dd885-4e7f-4a45-99a0-7b45cbd0a5c2",
|
||||
"id": "4e382d0d-a432-4953-bd5e-04f3f33e26a4",
|
||||
"prevId": "fdeaf6eb-cd62-4fa5-9b38-d7f80a60db9f",
|
||||
"tables": {
|
||||
"account": {
|
||||
"name": "account",
|
||||
@@ -910,6 +910,14 @@
|
||||
"notNull": true,
|
||||
"autoincrement": false,
|
||||
"default": "('{\"json\": {}}')"
|
||||
},
|
||||
"advanced_options": {
|
||||
"name": "advanced_options",
|
||||
"type": "text",
|
||||
"primaryKey": false,
|
||||
"notNull": true,
|
||||
"autoincrement": false,
|
||||
"default": "('{\"json\": {}}')"
|
||||
}
|
||||
},
|
||||
"indexes": {},
|
||||
@@ -991,40 +999,6 @@
|
||||
},
|
||||
"uniqueConstraints": {}
|
||||
},
|
||||
"serverSetting": {
|
||||
"name": "serverSetting",
|
||||
"columns": {
|
||||
"key": {
|
||||
"name": "key",
|
||||
"type": "varchar(64)",
|
||||
"primaryKey": false,
|
||||
"notNull": true,
|
||||
"autoincrement": false
|
||||
},
|
||||
"value": {
|
||||
"name": "value",
|
||||
"type": "text",
|
||||
"primaryKey": false,
|
||||
"notNull": true,
|
||||
"autoincrement": false,
|
||||
"default": "('{\"json\": {}}')"
|
||||
}
|
||||
},
|
||||
"indexes": {},
|
||||
"foreignKeys": {},
|
||||
"compositePrimaryKeys": {
|
||||
"serverSetting_key": {
|
||||
"name": "serverSetting_key",
|
||||
"columns": ["key"]
|
||||
}
|
||||
},
|
||||
"uniqueConstraints": {
|
||||
"serverSetting_key_unique": {
|
||||
"name": "serverSetting_key_unique",
|
||||
"columns": ["key"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"session": {
|
||||
"name": "session",
|
||||
"columns": {
|
||||
|
||||
1208
packages/db/migrations/mysql/meta/0003_snapshot.json
Normal file
1208
packages/db/migrations/mysql/meta/0003_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -19,8 +19,15 @@
|
||||
{
|
||||
"idx": 2,
|
||||
"version": "5",
|
||||
"when": 1715980459023,
|
||||
"tag": "0002_flimsy_deathbird",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 3,
|
||||
"version": "5",
|
||||
"when": 1716148439439,
|
||||
"tag": "0002_freezing_black_panther",
|
||||
"tag": "0003_freezing_black_panther",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user