add: コメントを追加

This commit is contained in:
yukineko 2023-11-02 22:23:00 +09:00
parent a4077aca5e
commit 7ee301c3ee
No known key found for this signature in database
GPG Key ID: E5BACB72109B7B90
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export class AddComment1698931321665 {
name = 'AddComment1698931321665'
async up(queryRunner) {
await queryRunner.query(`COMMENT ON COLUMN "meta"."emailVerificationExpiresIn" IS 'The expiration time of email verification (unit: minute)'`);
}
async down(queryRunner) {
await queryRunner.query(`COMMENT ON COLUMN "meta"."emailVerificationExpiresIn" IS NULL`);
}
}

View File

@ -176,6 +176,7 @@ export class MiMeta {
@Column('integer', { @Column('integer', {
default: 0, default: 0,
comment: 'The expiration time of email verification (unit: minute)',
}) })
public emailVerificationExpiresIn: number; public emailVerificationExpiresIn: number;