changed notification.config from varchar to text. (#3763)

This commit is contained in:
Floris-Jan 2023-09-21 14:22:37 +02:00 committed by GitHub
parent 2ef759a362
commit 2266f31100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);