chore: Add active column to flows
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
430f0d07e8
commit
02cfb979bc
@@ -0,0 +1,13 @@
|
||||
import { Knex } from "knex";
|
||||
|
||||
export async function up(knex: Knex): Promise<void> {
|
||||
return knex.schema.table('flows', (table) => {
|
||||
table.boolean('active').defaultTo(false)
|
||||
});
|
||||
}
|
||||
|
||||
export async function down(knex: Knex): Promise<void> {
|
||||
return knex.schema.table('flows', (table) => {
|
||||
table.dropColumn('active');
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user