Skip to content

Commit

Permalink
FIX Migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
wjuniorbh92 committed Sep 28, 2023
1 parent 56a3f16 commit 8aa2f87
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion backend/migrations/000010_role_permission_juntion.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CREATE TABLE RolePermissionJunction (
CONSTRAINT FK_role
FOREIGN KEY (role_id) REFERENCES Role (id),
CONSTRAINT FK_permission
FOREIGN KEY (permission_id) REFERENCES Permission (id)
FOREIGN KEY (permission_id) REFERENCES Permission (id) ON DELETE CASCADE
);

insert into rolepermissionjunction (role_id, permission_id) values (1, 1);
Expand Down
1 change: 0 additions & 1 deletion backend/migrations/000019_asset_image.down.sql

This file was deleted.

1 change: 0 additions & 1 deletion backend/migrations/000019_asset_image.up.sql

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 8aa2f87

Please sign in to comment.