Skip to content

Commit

Permalink
change: デフォルトのリポジトリURLを変更
Browse files Browse the repository at this point in the history
  • Loading branch information
hideki0403 committed Feb 18, 2024
1 parent 420114e commit 7ca08c9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export class ChangeDefaultRepositoryUrl1708219546820 {
name = 'ChangeDefaultRepositoryUrl1708219546820'

async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "repositoryUrl" SET DEFAULT 'https://github.com/hideki0403/misskey.yukineko.me'`);
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "feedbackUrl" SET DEFAULT 'https://github.com/hideki0403/misskey.yukineko.me/issues/new'`);
}

async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "feedbackUrl" SET DEFAULT 'https://github.com/misskey-dev/misskey/issues/new'`);
await queryRunner.query(`ALTER TABLE "meta" ALTER COLUMN "repositoryUrl" SET DEFAULT 'https://github.com/misskey-dev/misskey'`);
}
}
4 changes: 2 additions & 2 deletions packages/backend/src/models/Meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,14 +423,14 @@ export class MiMeta {

@Column('varchar', {
length: 1024,
default: 'https://github.com/misskey-dev/misskey',
default: 'https://github.com/hideki0403/misskey.yukineko.me',
nullable: true,
})
public repositoryUrl: string | null;

@Column('varchar', {
length: 1024,
default: 'https://github.com/misskey-dev/misskey/issues/new',
default: 'https://github.com/hideki0403/misskey.yukineko.me/issues/new',
nullable: true,
})
public feedbackUrl: string | null;
Expand Down

0 comments on commit 7ca08c9

Please sign in to comment.