Listing & creation of Developer Portal teams

This commit is contained in:
TomatoCake
2024-08-24 07:37:34 +02:00
parent 60f22c227c
commit eca4f1b56c
12 changed files with 11542 additions and 24 deletions
@@ -0,0 +1,17 @@
import { MigrationInterface, QueryRunner } from "typeorm";
export class TeamMemberRole1724477620293 implements MigrationInterface {
name = "TeamMemberRole1724477620293";
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
"ALTER TABLE `team_members` ADD COLUMN `role` VARCHAR(255) NOT NULL AFTER `permissions`",
);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
"ALTER TABLE `team_members` DROP COLUMN `role`",
);
}
}