2020-11-02 17:48:52 +01:00
|
|
|
import Migration from "../db/Migration";
|
|
|
|
|
|
|
|
export default class DropLegacyLogsTable extends Migration {
|
2020-11-08 15:48:34 +01:00
|
|
|
public async install(): Promise<void> {
|
|
|
|
await this.query('DROP TABLE IF EXISTS logs');
|
2020-11-02 17:48:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public async rollback(): Promise<void> {
|
|
|
|
// Do nothing
|
|
|
|
}
|
|
|
|
}
|