Skip to content

Commit

Permalink
db: migrations > fix missing data type for ignore_unknown column
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Mar 3, 2024
1 parent 18f975a commit ebd61cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
exports.up = async (knex) =>
knex.transaction(async (trx) => {
await trx.raw(
'ALTER TABLE channels ADD COLUMN ignore_unknown_ DEFAULT true'
'ALTER TABLE channels ADD COLUMN ignore_unknown_ integer DEFAULT true'
);
await trx.raw('ALTER TABLE channels DROP COLUMN ignore_unknown');
await trx.raw(
Expand Down

0 comments on commit ebd61cc

Please sign in to comment.