forked from mirror/misskey
add: コメントを追加
This commit is contained in:
parent
a4077aca5e
commit
7ee301c3ee
16
packages/backend/migration/1698931321665-add-comment.js
Normal file
16
packages/backend/migration/1698931321665-add-comment.js
Normal 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`);
|
||||
}
|
||||
}
|
@ -176,6 +176,7 @@ export class MiMeta {
|
||||
|
||||
@Column('integer', {
|
||||
default: 0,
|
||||
comment: 'The expiration time of email verification (unit: minute)',
|
||||
})
|
||||
public emailVerificationExpiresIn: number;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user