mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
changed notification.config from varchar to text. (#3763)
This commit is contained in:
parent
2ef759a362
commit
2266f31100
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ async function createTables() {
|
||||||
await knex.schema.createTable("notification", (table) => {
|
await knex.schema.createTable("notification", (table) => {
|
||||||
table.increments("id");
|
table.increments("id");
|
||||||
table.string("name", 255);
|
table.string("name", 255);
|
||||||
table.string("config", 255); // TODO: should use TEXT!
|
table.text("config");
|
||||||
table.boolean("active").notNullable().defaultTo(true);
|
table.boolean("active").notNullable().defaultTo(true);
|
||||||
table.integer("user_id").unsigned();
|
table.integer("user_id").unsigned();
|
||||||
table.boolean("is_default").notNullable().defaultTo(false);
|
table.boolean("is_default").notNullable().defaultTo(false);
|
||||||
|
|
Loading…
Reference in a new issue