Some checks failed
Lint / pnpm_install (pull_request) Successful in 2m27s
Test (frontend) / vitest (22.x) (pull_request) Successful in 3m22s
Test (production install and build) / production (22.x) (pull_request) Successful in 3m7s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 3m37s
Lint / lint (backend) (pull_request) Failing after 4m30s
Lint / lint (misskey-js) (pull_request) Successful in 4m19s
Lint / lint (frontend) (pull_request) Successful in 9m33s
Lint / lint (sw) (pull_request) Successful in 4m42s
Lint / typecheck (backend) (pull_request) Failing after 3m52s
Lint / typecheck (misskey-js) (pull_request) Successful in 4m54s
Test (backend) / e2e (22.x) (pull_request) Failing after 10m19s
Test (backend) / unit (22.x) (pull_request) Successful in 19m38s
12 lines
416 B
JavaScript
12 lines
416 B
JavaScript
export class SpeakAsCat1696386694000 {
|
|
name = "SpeakAsCat1696386694000";
|
|
|
|
async up(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user" ADD "speakAsCat" boolean NOT NULL DEFAULT true`);
|
|
await queryRunner.query(`COMMENT ON COLUMN "user"."speakAsCat" IS 'Whether to speak as a cat if chosen.'`);
|
|
}
|
|
|
|
async down(queryRunner) {
|
|
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "speakAsCat"`);
|
|
}
|
|
}
|