Add inactive column to base schema

This commit is contained in:
Calvin Montgomery 2018-12-18 19:10:53 -08:00
parent c85be71f23
commit 8d0c1a03d1
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ export async function initTables() {
// Registration time, TODO convert to timestamp // Registration time, TODO convert to timestamp
t.bigint('time').notNullable(); t.bigint('time').notNullable();
t.string('name_dedupe', 20).defaultTo(null); t.string('name_dedupe', 20).defaultTo(null);
t.boolean('inactive').defaultTo(false);
}); });
await ensureTable('channels', t => { await ensureTable('channels', t => {