mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 14:23:08 +02:00
2470afaa2e
* wip * Update CHANGELOG.md * wip * wip * wip * Update create.ts * wip * wip * Update CHANGELOG.md * wip * wip * wip * wip * wip * wip * wip * Update CHANGELOG.md * wip * wip * Update delete.ts * Update delete.ts * wip * wip * wip * Update account-info.vue * wip * wip * Update settings.vue * Update user-info.vue * wip * Update show-file.ts * Update show-user.ts * wip * wip * Update delete.ts * wip * wip * Update overview.moderators.vue * Create 1673500412259-Role.js * wip * wip * Update roles.vue * 色 * Update roles.vue * integrate silence * wip * wip
13 lines
566 B
JavaScript
13 lines
566 B
JavaScript
export class RoleLastUsedAt1673524604156 {
|
|
name = 'RoleLastUsedAt1673524604156'
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "role" ADD "lastUsedAt" TIMESTAMP WITH TIME ZONE NOT NULL`);
|
|
await queryRunner.query(`COMMENT ON COLUMN "role"."lastUsedAt" IS 'The last used date of the Role.'`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`COMMENT ON COLUMN "role"."lastUsedAt" IS 'The last used date of the Role.'`);
|
|
await queryRunner.query(`ALTER TABLE "role" DROP COLUMN "lastUsedAt"`);
|
|
}
|
|
}
|