Fix account description error
[oweals/peertube.git] / server / initializers / migrations / 0110-server-key.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', 'publicKey')
10 }
11
12 function down (options) {
13   throw new Error('Not implemented.')
14 }
15
16 export {
17   up,
18   down
19 }