chore(workspaces): drop defaultLogoIndex (#3898)

This commit is contained in:
Chuck Driesler
2025-01-28 07:56:13 +00:00
committed by GitHub
parent 57751db6d7
commit 35b59ca4f2
22 changed files with 26 additions and 91 deletions
@@ -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()
})
}