mirror of
https://github.com/docmost/docmost.git
synced 2026-07-14 03:06:46 +10: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('position', 'varchar', (col) => col.notNull())
|
||||
.addColumn('type_options', 'jsonb')
|
||||
.addColumn('pending_type', 'varchar')
|
||||
.addColumn('pending_type_options', 'jsonb')
|
||||
.addColumn('is_primary', 'boolean', (col) =>
|
||||
col.notNull().defaultTo(false),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user