mirror of https://github.com/calzoneman/sync.git
Add inactive column to base schema
This commit is contained in:
parent
c85be71f23
commit
8d0c1a03d1
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue