mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 18:36:26 +08:00
fix(db): add pending_type columns to recreated base_properties table
This commit is contained in:
@@ -45,6 +45,8 @@ export async function up(db: Kysely<any>): Promise<void> {
|
|||||||
.addColumn('type', 'varchar', (col) => col.notNull())
|
.addColumn('type', 'varchar', (col) => col.notNull())
|
||||||
.addColumn('position', 'varchar', (col) => col.notNull())
|
.addColumn('position', 'varchar', (col) => col.notNull())
|
||||||
.addColumn('type_options', 'jsonb')
|
.addColumn('type_options', 'jsonb')
|
||||||
|
.addColumn('pending_type', 'varchar')
|
||||||
|
.addColumn('pending_type_options', 'jsonb')
|
||||||
.addColumn('is_primary', 'boolean', (col) =>
|
.addColumn('is_primary', 'boolean', (col) =>
|
||||||
col.notNull().defaultTo(false),
|
col.notNull().defaultTo(false),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user