mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
Move lib and test into src directory
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
241c418ea7
commit
fab2607e4d
98 changed files with 1 additions and 3 deletions
16
src/lib/migrations/20171009121200-longtext-for-mysql.js
Normal file
16
src/lib/migrations/20171009121200-longtext-for-mysql.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
'use strict'
|
||||
module.exports = {
|
||||
up: async function (queryInterface, Sequelize) {
|
||||
await queryInterface.changeColumn('Notes', 'content', { type: Sequelize.TEXT('long') })
|
||||
await queryInterface.changeColumn('Revisions', 'patch', { type: Sequelize.TEXT('long') })
|
||||
await queryInterface.changeColumn('Revisions', 'content', { type: Sequelize.TEXT('long') })
|
||||
await queryInterface.changeColumn('Revisions', 'lastContent', { type: Sequelize.TEXT('long') })
|
||||
},
|
||||
|
||||
down: async function (queryInterface, Sequelize) {
|
||||
await queryInterface.changeColumn('Notes', 'content', { type: Sequelize.TEXT })
|
||||
await queryInterface.changeColumn('Revisions', 'patch', { type: Sequelize.TEXT })
|
||||
await queryInterface.changeColumn('Revisions', 'content', { type: Sequelize.TEXT })
|
||||
await queryInterface.changeColumn('Revisions', 'lastContent', { type: Sequelize.TEXT })
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue