mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Update to support delete note
This commit is contained in:
parent
68457ed3a2
commit
12d5ed43a7
5 changed files with 77 additions and 1 deletions
11
lib/migrations/20161009040430-support-delete-note.js
Normal file
11
lib/migrations/20161009040430-support-delete-note.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE);
|
||||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Notes', 'deletedAt', Sequelize.DATE);
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue