1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-31 23:31:48 +09:00
cherrypick/packages/backend/migration/1596786425167-channel2.js
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

15 lines
517 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class channel21596786425167 {
constructor() {
this.name = 'channel21596786425167';
}
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "channel_following" ADD "readCursor" TIMESTAMP WITH TIME ZONE NOT NULL`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "channel_following" DROP COLUMN "readCursor"`);
}
}
exports.channel21596786425167 = channel21596786425167;