From 2266f31100dbad0d679d01c148f879f9e26f002e Mon Sep 17 00:00:00 2001 From: Floris-Jan Date: Thu, 21 Sep 2023 14:22:37 +0200 Subject: [PATCH] changed notification.config from varchar to text. (#3763) --- db/knex_init_db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/knex_init_db.js b/db/knex_init_db.js index 2a27fa1d..84da0dc8 100644 --- a/db/knex_init_db.js +++ b/db/knex_init_db.js @@ -272,7 +272,7 @@ async function createTables() { await knex.schema.createTable("notification", (table) => { table.increments("id"); table.string("name", 255); - table.string("config", 255); // TODO: should use TEXT! + table.text("config"); table.boolean("active").notNullable().defaultTo(true); table.integer("user_id").unsigned(); table.boolean("is_default").notNullable().defaultTo(false);