Skip to content

Commit

Permalink
fix: data sql group명 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
KarmaPol committed Feb 14, 2024
1 parent 094c1f2 commit 8e99fe6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/core-infra-qdsl/src/main/resources/data.sql

This file was deleted.

12 changes: 12 additions & 0 deletions core/core-infra-rdb/src/main/resources/data.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
insert into permission(id, name) values(1, 'ROLE_ADMIN');
insert into permission(id, name) values(2, 'ROLE_USER');

insert into member_groups(id, name) values(1, 'ADMIN_GROUP');
insert into member_groups(id, name) values(2, 'USER_GROUP');

insert into group_permission(id, member_groups_id, permission_id) values(1, 1, 1);
insert into group_permission(id, member_groups_id, permission_id) values(2, 1, 2);
insert into group_permission(id, member_groups_id, permission_id) values(3, 2, 2);

insert into member(id, name, email, point, member_groups_id)
values(1, 'test', 'test@test', 10000000, 1);

0 comments on commit 8e99fe6

Please sign in to comment.