Skip to content

Commit

Permalink
Chore: Ensure all permissions are created up to this point (#23514)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored Oct 20, 2021
1 parent 25d3eb3 commit 18dba8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/startup/migrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ import './v237';
import './v238';
import './v239';
import './v240';
import './v241';
import './xrun';
9 changes: 9 additions & 0 deletions server/startup/migrations/v241.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { addMigration } from '../../lib/migrations';
import { upsertPermissions } from '../../../app/authorization/server/functions/upsertPermissions';

addMigration({
version: 241,
up() {
upsertPermissions();
},
});

0 comments on commit 18dba8b

Please sign in to comment.