diff --git a/db/migrations/20171223203915_create_tables.js b/db/migrations/20171223203915_create_tables.js index 9c569dd..b5880a3 100644 --- a/db/migrations/20171223203915_create_tables.js +++ b/db/migrations/20171223203915_create_tables.js @@ -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();