mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 06:21:10 +10:00
ignore type error
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
import { type Kysely } from 'kysely';
|
||||
|
||||
export async function up(db: Kysely<any>): Promise<void> {
|
||||
await db.schema
|
||||
.alterTable('auth_providers')
|
||||
.addColumn('is_group_sync_enabled', 'boolean', (col) =>
|
||||
col.defaultTo(false).notNull(),
|
||||
)
|
||||
.execute();
|
||||
}
|
||||
|
||||
export async function down(db: Kysely<any>): Promise<void> {
|
||||
await db.schema
|
||||
.alterTable('auth_providers')
|
||||
.dropColumn('is_group_sync_enabled')
|
||||
.execute();
|
||||
}
|
||||
Reference in New Issue
Block a user