mirror of
https://github.com/outline/outline.git
synced 2026-11-30 09:00:18 +03:00
chore: Add templateId to documents
This commit is contained in:
1 parent
8896e2a13c
commit
d8b7960063
1 file changed
+5
@@ -7,9 +7,14 @@ module.exports = {
|
||||
allowNull: false,
|
||||
defaultValue: false
|
||||
});
|
||||
await queryInterface.addColumn('documents', 'templateId', {
|
||||
type: Sequelize.UUID,
|
||||
allowNull: true
|
||||
});
|
||||
},
|
||||
|
||||
down: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.removeColumn('documents', 'templateId');
|
||||
await queryInterface.removeColumn('documents', 'template');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user