]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/initializers/migrations/0145-delete-author.ts
Try to fix video duplication
[github/Chocobozzz/PeerTube.git] / server / initializers / migrations / 0145-delete-author.ts
1 import * as Sequelize from 'sequelize'
2
3 async function up (utils: {
4 transaction: Sequelize.Transaction,
5 queryInterface: Sequelize.QueryInterface,
6 sequelize: Sequelize.Sequelize
7 }): Promise<void> {
8 await utils.queryInterface.dropTable('Authors')
9 }
10
11 function down (options) {
12 throw new Error('Not implemented.')
13 }
14
15 export {
16 up,
17 down
18 }