You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
bandolier-website/migrations/20220428184247_livestream_v...

11 lines
297 B

exports.up = async (knex) => {
await knex.schema.alterTable('livestream', (table) => {
table.integer('viewer_count').notNullable().default(0);
});
};
exports.down = async (knex) => {
await knex.schema.alterTable('livestream', (table) => {
table.dropColumn('viewer_count');
});
};