From a9973cabc41204951c32c233af1c2ff8ba6188dc Mon Sep 17 00:00:00 2001 From: Takeaki Matsumoto Date: Thu, 8 Feb 2018 09:56:55 +0900 Subject: Fix typo of DB migration script Signed-off-by: Takeaki Matsumoto --- lib/migrations/20171009121200-longtext-for-mysql.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/migrations/20171009121200-longtext-for-mysql.js b/lib/migrations/20171009121200-longtext-for-mysql.js index 61b409ca..2a7d0d3a 100644 --- a/lib/migrations/20171009121200-longtext-for-mysql.js +++ b/lib/migrations/20171009121200-longtext-for-mysql.js @@ -4,13 +4,13 @@ module.exports = { queryInterface.changeColumn('Notes', 'content', {type: Sequelize.TEXT('long')}) queryInterface.changeColumn('Revisions', 'patch', {type: Sequelize.TEXT('long')}) queryInterface.changeColumn('Revisions', 'content', {type: Sequelize.TEXT('long')}) - queryInterface.changeColumn('Revisions', 'latContent', {type: Sequelize.TEXT('long')}) + queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT('long')}) }, down: function (queryInterface, Sequelize) { queryInterface.changeColumn('Notes', 'content', {type: Sequelize.TEXT}) queryInterface.changeColumn('Revisions', 'patch', {type: Sequelize.TEXT}) queryInterface.changeColumn('Revisions', 'content', {type: Sequelize.TEXT}) - queryInterface.changeColumn('Revisions', 'latContent', {type: Sequelize.TEXT}) + queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT}) } } -- cgit v1.2.3