We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99628a5 commit c3a96ffCopy full SHA for c3a96ff
1 file changed
lib/migrations/20160607060246-support-revision.js
@@ -4,7 +4,10 @@ module.exports = {
4
up: function (queryInterface, Sequelize) {
5
queryInterface.addColumn('Notes', 'savedAt', Sequelize.DATE);
6
queryInterface.createTable('Revisions', {
7
- id: Sequelize.UUID,
+ id: {
8
+ type: Sequelize.UUID,
9
+ primaryKey: true
10
+ },
11
noteId: Sequelize.UUID,
12
patch: Sequelize.TEXT,
13
lastContent: Sequelize.TEXT,
0 commit comments