chore(workspaces): drop defaultLogoIndex (#3898)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import { Knex } from 'knex'
|
||||
|
||||
export async function up(knex: Knex): Promise<void> {
|
||||
await knex.schema.alterTable('workspaces', (table) => {
|
||||
table.dropColumn('defaultLogoIndex')
|
||||
})
|
||||
}
|
||||
|
||||
export async function down(knex: Knex): Promise<void> {
|
||||
await knex.schema.alterTable('workspaces', (table) => {
|
||||
table.integer('defaultLogoIndex').defaultTo(0).notNullable()
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user