]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/initializers/migrations/0105-server-mail.ts
Try to fix video duplication
[github/Chocobozzz/PeerTube.git] / server / initializers / migrations / 0105-server-mail.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 db: any
8 }): Promise<void> {
9 await utils.queryInterface.removeColumn('Servers', 'email')
10 }
11
12 function down (options) {
13 throw new Error('Not implemented.')
14 }
15
16 export {
17 up,
18 down
19 }