Skip to content

Commit

Permalink
Merge pull request #14 from wzarek/RSN-36
Browse files Browse the repository at this point in the history
RSN-36f fixed init-user.sh file problem
  • Loading branch information
rogacky11 authored Apr 16, 2024
2 parents 076117f + be57950 commit 9ceecc1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.sh text eol=lf
8 changes: 4 additions & 4 deletions Database/init-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ ALTER TABLE events.event ADD FOREIGN KEY ("status_id") REFERENCES common.status
ALTER TABLE users.user_interest ADD FOREIGN KEY ("interest_id") REFERENCES users.interest ("id");

INSERT INTO users.role ("id", "name") VALUES
(1, 'Użytkownik'),
(2, 'Organizator'),
(1, 'User'),
(2, 'Organiser'),
(3, 'Admin');

INSERT INTO common.object_type ("id", "name") VALUES (1, 'Wydarzenie'),
(2, 'Użytkownik');
INSERT INTO common.object_type ("id", "name") VALUES (1, 'Event'),
(2, 'User');

INSERT INTO common.status ("id", "name", "object_type_id") VALUES
(1, 'Zainteresoway', 2),
Expand Down

0 comments on commit 9ceecc1

Please sign in to comment.