forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,295 additions
and
1,103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/backend/migration/1722242747526-channelLocalOnly.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export class ChannelLocalOnly1722242747526 { | ||
name = 'ChannelLocalOnly1722242747526' | ||
|
||
async up(queryRunner) { | ||
await queryRunner.query(`ALTER TABLE "channel" ADD "isLocalOnly" boolean NOT NULL DEFAULT false`); } | ||
|
||
async down(queryRunner) { | ||
await queryRunner.query(`ALTER TABLE "channel" DROP COLUMN "isLocalOnly"`); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ | |
"devDependencies": { | ||
"@typescript-eslint/parser": "7.17.0", | ||
"@typescript/lib-webworker": "npm:@types/[email protected]", | ||
"eslint-plugin-import": "2.29.1", | ||
"nodemon": "3.1.4", | ||
"typescript": "5.5.4" | ||
}, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.