mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 07:43:08 +02:00
12 lines
392 B
JavaScript
12 lines
392 B
JavaScript
|
export class enableChartsForRemoteUser1679639483253 {
|
||
|
name = 'enableChartsForRemoteUser1679639483253'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "meta" ADD "enableChartsForRemoteUser" boolean NOT NULL DEFAULT true`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableChartsForRemoteUser"`);
|
||
|
}
|
||
|
}
|