revert migration
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
80209385e8
commit
44152f876d
1 changed files with 0 additions and 26 deletions
|
@ -1,26 +0,0 @@
|
|||
const { MigrationInterface, QueryRunner } = require("typeorm");
|
||||
|
||||
module.exports = class LogicalReplicatePublish1730447062213 {
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(
|
||||
[
|
||||
"CREATE PUBLICATION misskey_public",
|
||||
"FOR TABLES IN SCHEMA public",
|
||||
"WITH (publish = 'insert, update, delete')",
|
||||
].join(' '));
|
||||
|
||||
await queryRunner.query(
|
||||
[
|
||||
"ALTER PUBLICATION misskey_public",
|
||||
"DROP TABLE auth_session, password_reset_request, access_token"
|
||||
].join(' '));
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(
|
||||
[
|
||||
"DROP PUBLICATION misskey_public"
|
||||
].join(' '));
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue