summaryrefslogtreecommitdiff
path: root/lib/migrations
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-02-08 14:53:20 +0100
committerGitHub2018-02-08 14:53:20 +0100
commitd7c66ea49b5bf5333a8703ff62dbec8bf6ba5f16 (patch)
tree62868a59a3cd8b6a669a0e8c4851be2e64514e00 /lib/migrations
parentf3358b49f513c630e01357948be8591eb6e4d319 (diff)
parenta9973cabc41204951c32c233af1c2ff8ba6188dc (diff)
Merge pull request #718 from takmatsu/master
Fix typo of DB migration script
Diffstat (limited to 'lib/migrations')
-rw-r--r--lib/migrations/20171009121200-longtext-for-mysql.js4
1 files changed, 2 insertions, 2 deletions
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})
}
}