permission update
This commit is contained in:
parent
9808100d81
commit
6865507545
6 changed files with 100 additions and 5 deletions
|
@ -78,7 +78,7 @@ export class RolePermission1724771491085 implements MigrationInterface {
|
|||
columnNames: ["roleId"],
|
||||
referencedColumnNames: ["id"],
|
||||
referencedTableName: "role",
|
||||
onDelete: "No Action",
|
||||
onDelete: "CASCADE",
|
||||
})
|
||||
);
|
||||
|
||||
|
@ -88,7 +88,7 @@ export class RolePermission1724771491085 implements MigrationInterface {
|
|||
columnNames: ["userId"],
|
||||
referencedColumnNames: ["id"],
|
||||
referencedTableName: "user",
|
||||
onDelete: "No Action",
|
||||
onDelete: "CASCADE",
|
||||
})
|
||||
);
|
||||
|
||||
|
@ -98,7 +98,7 @@ export class RolePermission1724771491085 implements MigrationInterface {
|
|||
columnNames: ["roleId"],
|
||||
referencedColumnNames: ["id"],
|
||||
referencedTableName: "role",
|
||||
onDelete: "No Action",
|
||||
onDelete: "CASCADE",
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue