Thread message body TEXT -> MEDIUMTEXT (for long legacy logs)

master
Dragory 2018-02-18 20:54:08 +02:00
parent f1af3d7314
commit 9d61becba9
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ exports.up = async function(knex, Promise) {
table.integer('message_type').unsigned().notNullable();
table.string('user_id', 20).nullable();
table.string('user_name', 128).notNullable();
table.text('body').notNullable();
table.mediumtext('body').notNullable();
table.integer('is_anonymous').unsigned().notNullable();
table.string('dm_message_id', 20).nullable().unique();
table.dateTime('created_at').notNullable().index();