fix migrations

Fix #8363
This commit is contained in:
syuilo 2022-03-01 00:07:03 +09:00
parent 94d4f8271e
commit a8e8b2e2cf
135 changed files with 383 additions and 493 deletions

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Init1000000000000 {
export class Init1000000000000 {
async up(queryRunner) {
await queryRunner.query(`CREATE TYPE "log_level_enum" AS ENUM('error', 'warning', 'info', 'success', 'debug')`);
await queryRunner.query(`CREATE TABLE "log" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "domain" character varying(64) array NOT NULL DEFAULT '{}'::varchar[], "level" "log_level_enum" NOT NULL, "worker" character varying(8) NOT NULL, "machine" character varying(128) NOT NULL, "message" character varying(1024) NOT NULL, "data" jsonb NOT NULL DEFAULT '{}', CONSTRAINT "PK_350604cbdf991d5930d9e618fbd" PRIMARY KEY ("id"))`);
@ -480,4 +480,3 @@ class Init1000000000000 {
await queryRunner.query(`DROP TYPE "log_level_enum"`);
}
}
exports.Init1000000000000 = Init1000000000000;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class Pages1556348509290 {
export class Pages1556348509290 {
async up(queryRunner) {
await queryRunner.query(`CREATE TYPE "page_visibility_enum" AS ENUM('public', 'followers', 'specified')`);
await queryRunner.query(`CREATE TABLE "page" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL, "title" character varying(256) NOT NULL, "name" character varying(256) NOT NULL, "summary" character varying(256), "alignCenter" boolean NOT NULL, "font" character varying(32) NOT NULL, "userId" character varying(32) NOT NULL, "eyeCatchingImageId" character varying(32), "content" jsonb NOT NULL DEFAULT '[]', "variables" jsonb NOT NULL DEFAULT '[]', "visibility" "page_visibility_enum" NOT NULL, "visibleUserIds" character varying(32) array NOT NULL DEFAULT '{}'::varchar[], CONSTRAINT "PK_742f4117e065c5b6ad21b37ba1f" PRIMARY KEY ("id"))`);
@ -26,4 +26,3 @@ class Pages1556348509290 {
await queryRunner.query(`DROP TYPE "page_visibility_enum"`);
}
}
exports.Pages1556348509290 = Pages1556348509290;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class UserProfile1556746559567 {
export class UserProfile1556746559567 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "githubId" TYPE VARCHAR(64) USING "githubId"::VARCHAR(64)`);
await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "discordExpiresDate" TYPE VARCHAR(64) USING "discordExpiresDate"::VARCHAR(64)`);
@ -11,4 +11,3 @@ class UserProfile1556746559567 {
await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "discordExpiresDate" TYPE INTEGER USING NULL`);
}
}
exports.UserProfile1556746559567 = UserProfile1556746559567;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PinnedUsers1557476068003 {
export class PinnedUsers1557476068003 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "pinnedUsers" character varying(256) array NOT NULL DEFAULT '{}'::varchar[]`);
}
@ -8,4 +8,3 @@ class PinnedUsers1557476068003 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "pinnedUsers"`);
}
}
exports.PinnedUsers1557476068003 = PinnedUsers1557476068003;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class AddSomeUrls1557761316509 {
export class AddSomeUrls1557761316509 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "ToSUrl" character varying(512)`);
await queryRunner.query(`ALTER TABLE "meta" ADD "repositoryUrl" character varying(512) NOT NULL DEFAULT 'https://github.com/misskey-dev/misskey'`);
@ -12,4 +12,3 @@ class AddSomeUrls1557761316509 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "ToSUrl"`);
}
}
exports.AddSomeUrls1557761316509 = AddSomeUrls1557761316509;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ObjectStorageSetting1557932705754 {
export class ObjectStorageSetting1557932705754 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "useObjectStorage" boolean NOT NULL DEFAULT false`);
await queryRunner.query(`ALTER TABLE "meta" ADD "objectStorageBucket" character varying(512)`);
@ -26,4 +26,3 @@ class ObjectStorageSetting1557932705754 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "useObjectStorage"`);
}
}
exports.ObjectStorageSetting1557932705754 = ObjectStorageSetting1557932705754;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PageLike1558072954435 {
export class PageLike1558072954435 {
async up(queryRunner) {
await queryRunner.query(`CREATE TABLE "page_like" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "pageId" character varying(32) NOT NULL, CONSTRAINT "PK_813f034843af992d3ae0f43c64c" PRIMARY KEY ("id"))`);
await queryRunner.query(`CREATE INDEX "IDX_0e61efab7f88dbb79c9166dbb4" ON "page_like" ("userId") `);
@ -18,4 +18,3 @@ class PageLike1558072954435 {
await queryRunner.query(`DROP TABLE "page_like"`);
}
}
exports.PageLike1558072954435 = PageLike1558072954435;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class UserGroup1558103093633 {
export class UserGroup1558103093633 {
async up(queryRunner) {
await queryRunner.query(`CREATE TABLE "user_group" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "name" character varying(256) NOT NULL, "userId" character varying(32) NOT NULL, "isPrivate" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_3c29fba6fe013ec8724378ce7c9" PRIMARY KEY ("id"))`);
await queryRunner.query(`CREATE INDEX "IDX_20e30aa35180e317e133d75316" ON "user_group" ("createdAt") `);
@ -36,4 +36,3 @@ class UserGroup1558103093633 {
await queryRunner.query(`DROP TABLE "user_group"`);
}
}
exports.UserGroup1558103093633 = UserGroup1558103093633;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class UserGroupInvite1558257926829 {
export class UserGroupInvite1558257926829 {
async up(queryRunner) {
await queryRunner.query(`CREATE TABLE "user_group_invite" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "userGroupId" character varying(32) NOT NULL, CONSTRAINT "PK_3893884af0d3a5f4d01e7921a97" PRIMARY KEY ("id"))`);
await queryRunner.query(`CREATE INDEX "IDX_1039988afa3bf991185b277fe0" ON "user_group_invite" ("userId") `);
@ -20,4 +20,3 @@ class UserGroupInvite1558257926829 {
await queryRunner.query(`DROP TABLE "user_group_invite"`);
}
}
exports.UserGroupInvite1558257926829 = UserGroupInvite1558257926829;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class UserListJoining1558266512381 {
export class UserListJoining1558266512381 {
async up(queryRunner) {
await queryRunner.query(`CREATE UNIQUE INDEX "IDX_90f7da835e4c10aca6853621e1" ON "user_list_joining" ("userId", "userListId") `);
}
@ -8,4 +8,3 @@ class UserListJoining1558266512381 {
await queryRunner.query(`DROP INDEX "IDX_90f7da835e4c10aca6853621e1"`);
}
}
exports.UserListJoining1558266512381 = UserListJoining1558266512381;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class webauthn1561706992953 {
export class webauthn1561706992953 {
async up(queryRunner) {
await queryRunner.query(`CREATE TABLE "attestation_challenge" ("id" character varying(32) NOT NULL, "userId" character varying(32) NOT NULL, "challenge" character varying(64) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "registrationChallenge" boolean NOT NULL DEFAULT false, CONSTRAINT "PK_d0ba6786e093f1bcb497572a6b5" PRIMARY KEY ("id", "userId"))`);
await queryRunner.query(`CREATE INDEX "IDX_f1a461a618fa1755692d0e0d59" ON "attestation_challenge" ("userId") `);
@ -24,4 +24,3 @@ class webauthn1561706992953 {
await queryRunner.query(`DROP TABLE "attestation_challenge"`);
}
}
exports.webauthn1561706992953 = webauthn1561706992953;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ChartIndexes1561873850023 {
export class ChartIndexes1561873850023 {
async up(queryRunner) {
await queryRunner.query(`CREATE INDEX "IDX_0ad37b7ef50f4ddc84363d7ccc" ON "__chart__active_users" ("date") `);
await queryRunner.query(`CREATE INDEX "IDX_15e91a03aeeac9dbccdf43fc06" ON "__chart__active_users" ("span") `);
@ -196,4 +196,3 @@ class ChartIndexes1561873850023 {
await queryRunner.query(`DROP INDEX "IDX_8cb40cfc8f3c28261e6f887b03"`);
}
}
exports.ChartIndexes1561873850023 = ChartIndexes1561873850023;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PasswordLessLogin1562422242907 {
export class PasswordLessLogin1562422242907 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD COLUMN "usePasswordLessLogin" boolean DEFAULT false NOT NULL`);
}
@ -8,4 +8,3 @@ class PasswordLessLogin1562422242907 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "usePasswordLessLogin"`);
}
}
exports.PasswordLessLogin1562422242907 = PasswordLessLogin1562422242907;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PinnedPage1562444565093 {
export class PinnedPage1562444565093 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "pinnedPageId" character varying(32)`);
await queryRunner.query(`ALTER TABLE "user_profile" ADD CONSTRAINT "UQ_6dc44f1ceb65b1e72bacef2ca27" UNIQUE ("pinnedPageId")`);
@ -12,4 +12,3 @@ class PinnedPage1562444565093 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "pinnedPageId"`);
}
}
exports.PinnedPage1562444565093 = PinnedPage1562444565093;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class PageTitleHideOption1562448332510 {
export class PageTitleHideOption1562448332510 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "page" ADD "hideTitleWhenPinned" boolean NOT NULL DEFAULT false`);
}
@ -8,4 +8,3 @@ class PageTitleHideOption1562448332510 {
await queryRunner.query(`ALTER TABLE "page" DROP COLUMN "hideTitleWhenPinned"`);
}
}
exports.PageTitleHideOption1562448332510 = PageTitleHideOption1562448332510;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ModerationLog1562869971568 {
export class ModerationLog1562869971568 {
async up(queryRunner) {
await queryRunner.query(`CREATE TABLE "moderation_log" ("id" character varying(32) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, "userId" character varying(32) NOT NULL, "type" character varying(128) NOT NULL, "info" jsonb NOT NULL, CONSTRAINT "PK_d0adca6ecfd068db83e4526cc26" PRIMARY KEY ("id"))`);
await queryRunner.query(`CREATE INDEX "IDX_a08ad074601d204e0f69da9a95" ON "moderation_log" ("userId") `);
@ -12,4 +12,3 @@ class ModerationLog1562869971568 {
await queryRunner.query(`DROP TABLE "moderation_log"`);
}
}
exports.ModerationLog1562869971568 = ModerationLog1562869971568;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class UsedUsername1563757595828 {
export class UsedUsername1563757595828 {
async up(queryRunner) {
await queryRunner.query(`CREATE TABLE "used_username" ("username" character varying(128) NOT NULL, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL, CONSTRAINT "PK_78fd79d2d24c6ac2f4cc9a31a5d" PRIMARY KEY ("username"))`);
}
@ -8,4 +8,3 @@ class UsedUsername1563757595828 {
await queryRunner.query(`DROP TABLE "used_username"`);
}
}
exports.UsedUsername1563757595828 = UsedUsername1563757595828;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class room1565634203341 {
export class room1565634203341 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "room" jsonb NOT NULL DEFAULT '{}'`);
}
@ -8,4 +8,3 @@ class room1565634203341 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "room"`);
}
}
exports.room1565634203341 = room1565634203341;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class CustomEmojiCategory1571220798684 {
export class CustomEmojiCategory1571220798684 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "emoji" ADD "category" character varying(128)`, undefined);
}
@ -8,4 +8,3 @@ class CustomEmojiCategory1571220798684 {
await queryRunner.query(`ALTER TABLE "emoji" DROP COLUMN "category"`, undefined);
}
}
exports.CustomEmojiCategory1571220798684 = CustomEmojiCategory1571220798684;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class nodeinfo1572760203493 {
export class nodeinfo1572760203493 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "system"`, undefined);
await queryRunner.query(`ALTER TABLE "instance" ADD "softwareName" character varying(64) DEFAULT null`, undefined);
@ -24,4 +24,3 @@ class nodeinfo1572760203493 {
await queryRunner.query(`ALTER TABLE "instance" ADD "system" character varying(64)`, undefined);
}
}
exports.nodeinfo1572760203493 = nodeinfo1572760203493;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TalkFederationId1576269851876 {
export class TalkFederationId1576269851876 {
constructor() {
this.name = 'TalkFederationId1576269851876';
}
@ -11,4 +11,3 @@ class TalkFederationId1576269851876 {
await queryRunner.query(`ALTER TABLE "messaging_message" DROP COLUMN "uri"`, undefined);
}
}
exports.TalkFederationId1576269851876 = TalkFederationId1576269851876;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ProxyRemoteFiles1576869585998 {
export class ProxyRemoteFiles1576869585998 {
constructor() {
this.name = 'ProxyRemoteFiles1576869585998';
}
@ -11,4 +11,3 @@ class ProxyRemoteFiles1576869585998 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "proxyRemoteFiles"`, undefined);
}
}
exports.ProxyRemoteFiles1576869585998 = ProxyRemoteFiles1576869585998;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v121579267006611 {
export class v121579267006611 {
constructor() {
this.name = 'v121579267006611';
}
@ -31,4 +31,3 @@ class v121579267006611 {
await queryRunner.query(`DROP TABLE "announcement"`, undefined);
}
}
exports.v121579267006611 = v121579267006611;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1221579270193251 {
export class v1221579270193251 {
constructor() {
this.name = 'v1221579270193251';
}
@ -11,4 +11,3 @@ class v1221579270193251 {
await queryRunner.query(`ALTER TABLE "announcement_read" DROP COLUMN "createdAt"`, undefined);
}
}
exports.v1221579270193251 = v1221579270193251;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1231579282808087 {
export class v1231579282808087 {
constructor() {
this.name = 'v1231579282808087';
}
@ -11,4 +11,3 @@ class v1231579282808087 {
await queryRunner.query(`ALTER TABLE "announcement" DROP COLUMN "updatedAt"`, undefined);
}
}
exports.v1231579282808087 = v1231579282808087;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1241579544426412 {
export class v1241579544426412 {
constructor() {
this.name = 'v1241579544426412';
}
@ -13,4 +13,3 @@ class v1241579544426412 {
await queryRunner.query(`ALTER TABLE "notification" DROP COLUMN "followRequestId"`, undefined);
}
}
exports.v1241579544426412 = v1241579544426412;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1251579977526288 {
export class v1251579977526288 {
constructor() {
this.name = 'v1251579977526288';
}
@ -51,4 +51,3 @@ class v1251579977526288 {
await queryRunner.query(`DROP TABLE "clip"`, undefined);
}
}
exports.v1251579977526288 = v1251579977526288;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1261579993013959 {
export class v1261579993013959 {
constructor() {
this.name = 'v1261579993013959';
}
@ -15,4 +15,3 @@ class v1261579993013959 {
await queryRunner.query(`ALTER TABLE "antenna" ADD "hasNewNote" boolean NOT NULL DEFAULT false`, undefined);
}
}
exports.v1261579993013959 = v1261579993013959;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1271580069531114 {
export class v1271580069531114 {
constructor() {
this.name = 'v1271580069531114';
}
@ -21,4 +21,3 @@ class v1271580069531114 {
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "users"`, undefined);
}
}
exports.v1271580069531114 = v1271580069531114;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1281580148575182 {
export class v1281580148575182 {
constructor() {
this.name = 'v1281580148575182';
}
@ -13,4 +13,3 @@ class v1281580148575182 {
await queryRunner.query(`ALTER TABLE "note" ADD CONSTRAINT "FK_ec5c201576192ba8904c345c5cc" FOREIGN KEY ("appId") REFERENCES "app"("id") ON DELETE SET NULL ON UPDATE NO ACTION`, undefined);
}
}
exports.v1281580148575182 = v1281580148575182;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v1291580154400017 {
export class v1291580154400017 {
constructor() {
this.name = 'v1291580154400017';
}
@ -11,4 +11,3 @@ class v1291580154400017 {
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "withReplies"`, undefined);
}
}
exports.v1291580154400017 = v1291580154400017;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v12101580276619901 {
export class v12101580276619901 {
constructor() {
this.name = 'v12101580276619901';
}
@ -16,4 +16,3 @@ class v12101580276619901 {
await queryRunner.query(`ALTER TABLE "notification" ADD "type" character varying(32) NOT NULL`, undefined);
}
}
exports.v12101580276619901 = v12101580276619901;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v12111580331224276 {
export class v12111580331224276 {
constructor() {
this.name = 'v12111580331224276';
}
@ -15,4 +15,3 @@ class v12111580331224276 {
await queryRunner.query(`ALTER TABLE "instance" ADD "isMarkedAsClosed" boolean NOT NULL DEFAULT false`, undefined);
}
}
exports.v12111580331224276 = v12111580331224276;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v12121580508795118 {
export class v12121580508795118 {
constructor() {
this.name = 'v12121580508795118';
}
@ -43,4 +43,3 @@ class v12121580508795118 {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "twitter" boolean NOT NULL DEFAULT false`, undefined);
}
}
exports.v12121580508795118 = v12121580508795118;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v12131580543501339 {
export class v12131580543501339 {
constructor() {
this.name = 'v12131580543501339';
}
@ -11,4 +11,3 @@ class v12131580543501339 {
await queryRunner.query(`DROP INDEX "IDX_NOTE_TAGS"`, undefined);
}
}
exports.v12131580543501339 = v12131580543501339;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class v12141580864313253 {
export class v12141580864313253 {
constructor() {
this.name = 'v12141580864313253';
}
@ -17,4 +17,3 @@ class v12141580864313253 {
await queryRunner.query(`ALTER TABLE "meta" RENAME COLUMN "proxyAccountId" TO "proxyAccount"`, undefined);
}
}
exports.v12141580864313253 = v12141580864313253;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class userGroupInvitation1581526429287 {
export class userGroupInvitation1581526429287 {
constructor() {
this.name = 'userGroupInvitation1581526429287';
}
@ -35,4 +35,3 @@ class userGroupInvitation1581526429287 {
await queryRunner.query(`DROP TABLE "user_group_invitation"`, undefined);
}
}
exports.userGroupInvitation1581526429287 = userGroupInvitation1581526429287;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class userGroupAntenna1581695816408 {
export class userGroupAntenna1581695816408 {
constructor() {
this.name = 'userGroupAntenna1581695816408';
}
@ -25,4 +25,3 @@ class userGroupAntenna1581695816408 {
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "userGroupJoiningId"`, undefined);
}
}
exports.userGroupAntenna1581695816408 = userGroupAntenna1581695816408;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class driveUserFolderIdIndex1581708415836 {
export class driveUserFolderIdIndex1581708415836 {
constructor() {
this.name = 'driveUserFolderIdIndex1581708415836';
}
@ -11,4 +11,3 @@ class driveUserFolderIdIndex1581708415836 {
await queryRunner.query(`DROP INDEX "IDX_55720b33a61a7c806a8215b825"`, undefined);
}
}
exports.driveUserFolderIdIndex1581708415836 = driveUserFolderIdIndex1581708415836;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class promo1581979837262 {
export class promo1581979837262 {
constructor() {
this.name = 'promo1581979837262';
}
@ -25,4 +25,3 @@ class promo1581979837262 {
await queryRunner.query(`DROP TABLE "promo_note"`, undefined);
}
}
exports.promo1581979837262 = promo1581979837262;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class featuredInjecttion1582019042083 {
export class featuredInjecttion1582019042083 {
constructor() {
this.name = 'featuredInjecttion1582019042083';
}
@ -11,4 +11,3 @@ class featuredInjecttion1582019042083 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "injectFeaturedNote"`, undefined);
}
}
exports.featuredInjecttion1582019042083 = featuredInjecttion1582019042083;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class antennaExclude1582210532752 {
export class antennaExclude1582210532752 {
constructor() {
this.name = 'antennaExclude1582210532752';
}
@ -11,4 +11,3 @@ class antennaExclude1582210532752 {
await queryRunner.query(`ALTER TABLE "antenna" DROP COLUMN "excludeKeywords"`, undefined);
}
}
exports.antennaExclude1582210532752 = antennaExclude1582210532752;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class noteReactionLength1582875306439 {
export class noteReactionLength1582875306439 {
constructor() {
this.name = 'noteReactionLength1582875306439';
}
@ -11,4 +11,3 @@ class noteReactionLength1582875306439 {
await queryRunner.query(`ALTER TABLE "note_reaction" ALTER COLUMN "reaction" TYPE character varying(128)`, undefined);
}
}
exports.noteReactionLength1582875306439 = noteReactionLength1582875306439;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class miauth1585361548360 {
export class miauth1585361548360 {
constructor() {
this.name = 'miauth1585361548360';
}
@ -33,4 +33,3 @@ class miauth1585361548360 {
await queryRunner.query(`ALTER TABLE "access_token" DROP COLUMN "lastUsedAt"`, undefined);
}
}
exports.miauth1585361548360 = miauth1585361548360;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class customNotification1585385921215 {
export class customNotification1585385921215 {
constructor() {
this.name = 'customNotification1585385921215';
}
@ -45,4 +45,3 @@ class customNotification1585385921215 {
await queryRunner.query(`ALTER TABLE "notification" DROP COLUMN "customBody"`, undefined);
}
}
exports.customNotification1585385921215 = customNotification1585385921215;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class apUrl1585772678853 {
export class apUrl1585772678853 {
constructor() {
this.name = 'apUrl1585772678853';
}
@ -11,4 +11,3 @@ class apUrl1585772678853 {
await queryRunner.query(`ALTER TABLE "note" DROP COLUMN "url"`, undefined);
}
}
exports.apUrl1585772678853 = apUrl1585772678853;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class AddObjectStorageUseProxy1586624197029 {
export class AddObjectStorageUseProxy1586624197029 {
constructor() {
this.name = 'AddObjectStorageUseProxy1586624197029';
}
@ -11,4 +11,3 @@ class AddObjectStorageUseProxy1586624197029 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "objectStorageUseProxy"`, undefined);
}
}
exports.AddObjectStorageUseProxy1586624197029 = AddObjectStorageUseProxy1586624197029;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class remoteReaction1586641139527 {
export class remoteReaction1586641139527 {
constructor() {
this.name = 'remoteReaction1586641139527';
}
@ -11,4 +11,3 @@ class remoteReaction1586641139527 {
await queryRunner.query(`ALTER TABLE "note_reaction" ALTER COLUMN "reaction" TYPE character varying(130)`, undefined);
}
}
exports.remoteReaction1586641139527 = remoteReaction1586641139527;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class pageAiScript1586708940386 {
export class pageAiScript1586708940386 {
constructor() {
this.name = 'pageAiScript1586708940386';
}
@ -11,4 +11,3 @@ class pageAiScript1586708940386 {
await queryRunner.query(`ALTER TABLE "page" DROP COLUMN "script"`, undefined);
}
}
exports.pageAiScript1586708940386 = pageAiScript1586708940386;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class hCaptcha1588044505511 {
export class hCaptcha1588044505511 {
constructor() {
this.name = 'hCaptcha1588044505511';
}
@ -15,4 +15,3 @@ class hCaptcha1588044505511 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "enableHcaptcha"`, undefined);
}
}
exports.hCaptcha1588044505511 = hCaptcha1588044505511;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class pubRelay1589023282116 {
export class pubRelay1589023282116 {
constructor() {
this.name = 'pubRelay1589023282116';
}
@ -15,4 +15,3 @@ class pubRelay1589023282116 {
await queryRunner.query(`DROP TYPE "relay_status_enum"`, undefined);
}
}
exports.pubRelay1589023282116 = pubRelay1589023282116;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class blurhash1595075960584 {
export class blurhash1595075960584 {
constructor() {
this.name = 'blurhash1595075960584';
}
@ -11,4 +11,3 @@ class blurhash1595075960584 {
await queryRunner.query(`ALTER TABLE "drive_file" DROP COLUMN "blurhash"`);
}
}
exports.blurhash1595075960584 = blurhash1595075960584;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class blurhashForAvatarBanner1595077605646 {
export class blurhashForAvatarBanner1595077605646 {
constructor() {
this.name = 'blurhashForAvatarBanner1595077605646';
}
@ -17,4 +17,3 @@ class blurhashForAvatarBanner1595077605646 {
await queryRunner.query(`ALTER TABLE "user" ADD "avatarColor" character varying(32)`);
}
}
exports.blurhashForAvatarBanner1595077605646 = blurhashForAvatarBanner1595077605646;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class instanceIconUrl1595676934834 {
export class instanceIconUrl1595676934834 {
constructor() {
this.name = 'instanceIconUrl1595676934834';
}
@ -11,4 +11,3 @@ class instanceIconUrl1595676934834 {
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "iconUrl"`);
}
}
exports.instanceIconUrl1595676934834 = instanceIconUrl1595676934834;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class wordMute1595771249699 {
export class wordMute1595771249699 {
constructor() {
this.name = 'wordMute1595771249699';
}
@ -27,4 +27,3 @@ class wordMute1595771249699 {
await queryRunner.query(`DROP TABLE "muted_note"`);
}
}
exports.wordMute1595771249699 = wordMute1595771249699;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class wordMute21595782306083 {
export class wordMute21595782306083 {
constructor() {
this.name = 'wordMute21595782306083';
}
@ -15,4 +15,3 @@ class wordMute21595782306083 {
await queryRunner.query(`DROP TYPE "muted_note_reason_enum"`);
}
}
exports.wordMute21595782306083 = wordMute21595782306083;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class channel1596548170836 {
export class channel1596548170836 {
constructor() {
this.name = 'channel1596548170836';
}
@ -55,4 +55,3 @@ class channel1596548170836 {
await queryRunner.query(`DROP TABLE "channel"`);
}
}
exports.channel1596548170836 = channel1596548170836;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class channel21596786425167 {
export class channel21596786425167 {
constructor() {
this.name = 'channel21596786425167';
}
@ -11,4 +11,3 @@ class channel21596786425167 {
await queryRunner.query(`ALTER TABLE "channel_following" DROP COLUMN "readCursor"`);
}
}
exports.channel21596786425167 = channel21596786425167;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class objectStorageSetPublicRead1597230137744 {
export class objectStorageSetPublicRead1597230137744 {
constructor() {
this.name = 'objectStorageSetPublicRead1597230137744';
}
@ -11,4 +11,3 @@ class objectStorageSetPublicRead1597230137744 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "objectStorageSetPublicRead"`);
}
}
exports.objectStorageSetPublicRead1597230137744 = objectStorageSetPublicRead1597230137744;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class IncludingNotificationTypes1597236229720 {
export class IncludingNotificationTypes1597236229720 {
constructor() {
this.name = 'IncludingNotificationTypes1597236229720';
}
@ -13,4 +13,3 @@ class IncludingNotificationTypes1597236229720 {
await queryRunner.query(`DROP TYPE "user_profile_includingnotificationtypes_enum"`);
}
}
exports.IncludingNotificationTypes1597236229720 = IncludingNotificationTypes1597236229720;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class addSensitiveIndex1597385880794 {
export class addSensitiveIndex1597385880794 {
constructor() {
this.name = 'addSensitiveIndex1597385880794';
}
@ -11,4 +11,3 @@ class addSensitiveIndex1597385880794 {
await queryRunner.query(`DROP INDEX "IDX_a7eba67f8b3fa27271e85d2e26"`);
}
}
exports.addSensitiveIndex1597385880794 = addSensitiveIndex1597385880794;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class channelUnread1597459042300 {
export class channelUnread1597459042300 {
constructor() {
this.name = 'channelUnread1597459042300';
}
@ -24,4 +24,3 @@ class channelUnread1597459042300 {
await queryRunner.query(`ALTER TABLE "channel_following" ADD "readCursor" TIMESTAMP WITH TIME ZONE NOT NULL`);
}
}
exports.channelUnread1597459042300 = channelUnread1597459042300;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ChannelNoteIdDescIndex1597893996136 {
export class ChannelNoteIdDescIndex1597893996136 {
constructor() {
this.name = 'ChannelNoteIdDescIndex1597893996136';
}
@ -13,4 +13,3 @@ class ChannelNoteIdDescIndex1597893996136 {
await queryRunner.query(`CREATE INDEX "IDX_f22169eb10657bded6d875ac8f" ON "note" ("channelId") `);
}
}
exports.ChannelNoteIdDescIndex1597893996136 = ChannelNoteIdDescIndex1597893996136;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class mutingNotificationTypes1600353287890 {
export class mutingNotificationTypes1600353287890 {
constructor() {
this.name = 'mutingNotificationTypes1600353287890';
}
@ -17,4 +17,3 @@ class mutingNotificationTypes1600353287890 {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "includingNotificationTypes" "user_profile_includingnotificationtypes_enum" array`);
}
}
exports.mutingNotificationTypes1600353287890 = mutingNotificationTypes1600353287890;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class refineAbuseUserReport1603094348345 {
export class refineAbuseUserReport1603094348345 {
constructor() {
this.name = 'refineAbuseUserReport1603094348345';
}
@ -29,4 +29,3 @@ class refineAbuseUserReport1603094348345 {
await queryRunner.query(`ALTER TABLE "abuse_user_report" ADD CONSTRAINT "FK_d049123c413e68ca52abe734203" FOREIGN KEY ("userId") REFERENCES "user"("id") ON DELETE CASCADE ON UPDATE NO ACTION`);
}
}
exports.refineAbuseUserReport1603094348345 = refineAbuseUserReport1603094348345;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class refineAbuseUserReport21603095701770 {
export class refineAbuseUserReport21603095701770 {
constructor() {
this.name = 'refineAbuseUserReport21603095701770';
}
@ -17,4 +17,3 @@ class refineAbuseUserReport21603095701770 {
await queryRunner.query(`ALTER TABLE "abuse_user_report" DROP COLUMN "targetUserHost"`);
}
}
exports.refineAbuseUserReport21603095701770 = refineAbuseUserReport21603095701770;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class instanceThemeColor1603776877564 {
export class instanceThemeColor1603776877564 {
constructor() {
this.name = 'instanceThemeColor1603776877564';
}
@ -11,4 +11,3 @@ class instanceThemeColor1603776877564 {
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "themeColor"`);
}
}
exports.instanceThemeColor1603776877564 = instanceThemeColor1603776877564;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class instanceFavicon1603781553011 {
export class instanceFavicon1603781553011 {
constructor() {
this.name = 'instanceFavicon1603781553011';
}
@ -11,4 +11,3 @@ class instanceFavicon1603781553011 {
await queryRunner.query(`ALTER TABLE "instance" DROP COLUMN "faviconUrl"`);
}
}
exports.instanceFavicon1603781553011 = instanceFavicon1603781553011;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class deleteAutoWatch1604821689616 {
export class deleteAutoWatch1604821689616 {
constructor() {
this.name = 'deleteAutoWatch1604821689616';
}
@ -11,4 +11,3 @@ class deleteAutoWatch1604821689616 {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "autoWatch" boolean NOT NULL DEFAULT false`);
}
}
exports.deleteAutoWatch1604821689616 = deleteAutoWatch1604821689616;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class clipDescription1605408848373 {
export class clipDescription1605408848373 {
constructor() {
this.name = 'clipDescription1605408848373';
}
@ -11,4 +11,3 @@ class clipDescription1605408848373 {
await queryRunner.query(`ALTER TABLE "clip" DROP COLUMN "description"`);
}
}
exports.clipDescription1605408848373 = clipDescription1605408848373;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class comments1605408971051 {
export class comments1605408971051 {
constructor() {
this.name = 'comments1605408971051';
}
@ -431,4 +431,3 @@ class comments1605408971051 {
await queryRunner.query(`COMMENT ON COLUMN "log"."createdAt" IS NULL`);
}
}
exports.comments1605408971051 = comments1605408971051;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class instancePinnedPages1605585339718 {
export class instancePinnedPages1605585339718 {
constructor() {
this.name = 'instancePinnedPages1605585339718';
}
@ -11,4 +11,3 @@ class instancePinnedPages1605585339718 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "pinnedPages"`);
}
}
exports.instancePinnedPages1605585339718 = instancePinnedPages1605585339718;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class instanceImages1605965516823 {
export class instanceImages1605965516823 {
constructor() {
this.name = 'instanceImages1605965516823';
}
@ -13,4 +13,3 @@ class instanceImages1605965516823 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "backgroundImageUrl"`);
}
}
exports.instanceImages1605965516823 = instanceImages1605965516823;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class noCrawle1606191203881 {
export class noCrawle1606191203881 {
constructor() {
this.name = 'noCrawle1606191203881';
}
@ -13,4 +13,3 @@ class noCrawle1606191203881 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "noCrawle"`);
}
}
exports.noCrawle1606191203881 = noCrawle1606191203881;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class instancePinnedClip1607151207216 {
export class instancePinnedClip1607151207216 {
constructor() {
this.name = 'instancePinnedClip1607151207216';
}
@ -11,4 +11,3 @@ class instancePinnedClip1607151207216 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "pinnedClipId"`);
}
}
exports.instancePinnedClip1607151207216 = instancePinnedClip1607151207216;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class isExplorable1607353487793 {
export class isExplorable1607353487793 {
constructor() {
this.name = 'isExplorable1607353487793';
}
@ -15,4 +15,3 @@ class isExplorable1607353487793 {
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "isExplorable"`);
}
}
exports.isExplorable1607353487793 = isExplorable1607353487793;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class registry1610277136869 {
export class registry1610277136869 {
constructor() {
this.name = 'registry1610277136869';
}
@ -19,4 +19,3 @@ class registry1610277136869 {
await queryRunner.query(`DROP TABLE "registry_item"`);
}
}
exports.registry1610277136869 = registry1610277136869;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class registry21610277585759 {
export class registry21610277585759 {
constructor() {
this.name = 'registry21610277585759';
}
@ -13,4 +13,3 @@ class registry21610277585759 {
await queryRunner.query(`ALTER TABLE "registry_item" DROP COLUMN "value"`);
}
}
exports.registry21610277585759 = registry21610277585759;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class registry31610283021566 {
export class registry31610283021566 {
constructor() {
this.name = 'registry31610283021566';
}
@ -11,4 +11,3 @@ class registry31610283021566 {
await queryRunner.query(`ALTER TABLE "registry_item" ALTER COLUMN "value" SET NOT NULL`);
}
}
exports.registry31610283021566 = registry31610283021566;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class followersUri1611354329133 {
export class followersUri1611354329133 {
constructor() {
this.name = 'followersUri1611354329133';
}
@ -13,4 +13,3 @@ class followersUri1611354329133 {
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "followersUri"`);
}
}
exports.followersUri1611354329133 = followersUri1611354329133;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class gallery1611397665007 {
export class gallery1611397665007 {
constructor() {
this.name = 'gallery1611397665007';
}
@ -37,4 +37,3 @@ class gallery1611397665007 {
await queryRunner.query(`DROP TABLE "gallery_post"`);
}
}
exports.gallery1611397665007 = gallery1611397665007;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class objectStorageS3ForcePathStyle1611547387175 {
export class objectStorageS3ForcePathStyle1611547387175 {
constructor() {
this.name = 'objectStorageS3ForcePathStyle1611547387175';
}
@ -11,4 +11,3 @@ class objectStorageS3ForcePathStyle1611547387175 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "objectStorageS3ForcePathStyle"`);
}
}
exports.objectStorageS3ForcePathStyle1611547387175 = objectStorageS3ForcePathStyle1611547387175;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class announcementEmail1612619156584 {
export class announcementEmail1612619156584 {
constructor() {
this.name = 'announcementEmail1612619156584';
}
@ -11,4 +11,3 @@ class announcementEmail1612619156584 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "receiveAnnouncementEmail"`);
}
}
exports.announcementEmail1612619156584 = announcementEmail1612619156584;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class emailNotificationTypes1613155914446 {
export class emailNotificationTypes1613155914446 {
constructor() {
this.name = 'emailNotificationTypes1613155914446';
}
@ -11,4 +11,3 @@ class emailNotificationTypes1613155914446 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "emailNotificationTypes"`);
}
}
exports.emailNotificationTypes1613155914446 = emailNotificationTypes1613155914446;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class userLang1613181457597 {
export class userLang1613181457597 {
constructor() {
this.name = 'userLang1613181457597';
}
@ -11,4 +11,3 @@ class userLang1613181457597 {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "lang"`);
}
}
exports.userLang1613181457597 = userLang1613181457597;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class useBigintForDriveUsage1613503367223 {
export class useBigintForDriveUsage1613503367223 {
constructor() {
this.name = 'useBigintForDriveUsage1613503367223';
}
@ -12,4 +12,3 @@ class useBigintForDriveUsage1613503367223 {
await queryRunner.query(`ALTER TABLE "instance" ADD "driveUsage" integer NOT NULL DEFAULT 0`);
}
}
exports.useBigintForDriveUsage1613503367223 = useBigintForDriveUsage1613503367223;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class chartV21615965918224 {
export class chartV21615965918224 {
constructor() {
this.name = 'chartV21615965918224';
}
@ -214,4 +214,3 @@ class chartV21615965918224 {
await queryRunner.query(`CREATE INDEX "IDX_15e91a03aeeac9dbccdf43fc06" ON "__chart__active_users" ("span") `);
}
}
exports.chartV21615965918224 = chartV21615965918224;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class chartV221615966519402 {
export class chartV221615966519402 {
constructor() {
this.name = 'chartV221615966519402';
}
@ -19,4 +19,3 @@ class chartV221615966519402 {
await queryRunner.query(`ALTER TABLE "__chart__active_users" DROP COLUMN "___local_users"`);
}
}
exports.chartV221615966519402 = chartV221615966519402;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class userLastActiveDate1618637372000 {
export class userLastActiveDate1618637372000 {
constructor() {
this.name = 'userLastActiveDate1618637372000';
}
@ -13,4 +13,3 @@ class userLastActiveDate1618637372000 {
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "lastActiveDate"`);
}
}
exports.userLastActiveDate1618637372000 = userLastActiveDate1618637372000;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class userHideOnlineStatus1618639857000 {
export class userHideOnlineStatus1618639857000 {
constructor() {
this.name = 'userHideOnlineStatus1618639857000';
}
@ -11,4 +11,3 @@ class userHideOnlineStatus1618639857000 {
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "hideOnlineStatus"`);
}
}
exports.userHideOnlineStatus1618639857000 = userHideOnlineStatus1618639857000;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class passwordReset1619942102890 {
export class passwordReset1619942102890 {
constructor() {
this.name = 'passwordReset1619942102890';
}
@ -17,4 +17,3 @@ class passwordReset1619942102890 {
await queryRunner.query(`DROP TABLE "password_reset_request"`);
}
}
exports.passwordReset1619942102890 = passwordReset1619942102890;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ad1620019354680 {
export class ad1620019354680 {
constructor() {
this.name = 'ad1620019354680';
}
@ -15,4 +15,3 @@ class ad1620019354680 {
await queryRunner.query(`DROP TABLE "ad"`);
}
}
exports.ad1620019354680 = ad1620019354680;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ad21620364649428 {
export class ad21620364649428 {
constructor() {
this.name = 'ad21620364649428';
}
@ -11,4 +11,3 @@ class ad21620364649428 {
await queryRunner.query(`ALTER TABLE "ad" DROP COLUMN "ratio"`);
}
}
exports.ad21620364649428 = ad21620364649428;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class addNoteIndexes1621479946000 {
export class addNoteIndexes1621479946000 {
constructor() {
this.name = 'addNoteIndexes1621479946000';
}
@ -13,4 +13,3 @@ class addNoteIndexes1621479946000 {
await queryRunner.query(`DROP INDEX "IDX_NOTE_VISIBLE_USER_IDS"`, undefined);
}
}
exports.addNoteIndexes1621479946000 = addNoteIndexes1621479946000;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class userProfileDescriptionLength1622679304522 {
export class userProfileDescriptionLength1622679304522 {
constructor() {
this.name = 'userProfileDescriptionLength1622679304522';
}
@ -11,4 +11,3 @@ class userProfileDescriptionLength1622679304522 {
await queryRunner.query(`ALTER TABLE "user_profile" ALTER COLUMN "description" TYPE character varying(1024)`, undefined);
}
}
exports.userProfileDescriptionLength1622679304522 = userProfileDescriptionLength1622679304522;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class logMessageLength1622681548499 {
export class logMessageLength1622681548499 {
constructor() {
this.name = 'logMessageLength1622681548499';
}
@ -11,4 +11,3 @@ class logMessageLength1622681548499 {
await queryRunner.query(`ALTER TABLE "log" ALTER COLUMN "message" TYPE character varying(1024)`, undefined);
}
}
exports.logMessageLength1622681548499 = logMessageLength1622681548499;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class fixRemoteFileProxy1626509500668 {
export class fixRemoteFileProxy1626509500668 {
constructor() {
this.name = 'fixRemoteFileProxy1626509500668';
}
@ -20,4 +20,3 @@ class fixRemoteFileProxy1626509500668 {
}
}
exports.fixRemoteFileProxy1626509500668 = fixRemoteFileProxy1626509500668;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class chartReindex1629004542760 {
export class chartReindex1629004542760 {
constructor() {
this.name = 'chartReindex1629004542760';
}
@ -179,4 +179,3 @@ class chartReindex1629004542760 {
await queryRunner.query(`CREATE INDEX "IDX_0ad37b7ef50f4ddc84363d7ccc" ON "__chart__active_users" ("date") `);
}
}
exports.chartReindex1629004542760 = chartReindex1629004542760;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class deeplIntegration1629024377804 {
export class deeplIntegration1629024377804 {
constructor() {
this.name = 'deeplIntegration1629024377804';
}
@ -11,4 +11,3 @@ class deeplIntegration1629024377804 {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "deeplAuthKey"`);
}
}
exports.deeplIntegration1629024377804 = deeplIntegration1629024377804;

View file

@ -1,6 +1,6 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class fixChannelUserId1629288472000 {
export class fixChannelUserId1629288472000 {
constructor() {
this.name = 'fixChannelUserId1629288472000';
}
@ -11,4 +11,3 @@ class fixChannelUserId1629288472000 {
await queryRunner.query(`ALTER TABLE "channel" ALTER COLUMN "userId" SET NOT NULL;`);
}
}
exports.fixChannelUserId1629288472000 = fixChannelUserId1629288472000;

Some files were not shown because too many files have changed in this diff Show more