mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
fixed usage of migrations
Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
94c3857d49
commit
6480c142a9
3 changed files with 31 additions and 10 deletions
|
@ -1,5 +1,8 @@
|
|||
'use strict'
|
||||
const isSQLite = require('../utils').isSQLite
|
||||
function isSQLite (sequelize) {
|
||||
return sequelize.options.dialect === 'sqlite'
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
return queryInterface.changeColumn('Notes', 'title', {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue