Skip to content

Commit

Permalink
Update data.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
IChowdhury01 authored Aug 2, 2021
1 parent cb4ac94 commit d2bc173
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/main/resources/data.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
--This PostgreSQL script will run when the Spring Boot app is initialized. It adds test entries to the database.


--Empty all tables at startup. Disable for DEPLOYMENT.
TRUNCATE users CASCADE;
TRUNCATE logs CASCADE;
Expand Down Expand Up @@ -33,4 +34,4 @@ INSERT INTO users_logs (user_id, logs_id)
VALUES(1,2);

INSERT INTO users_logs (user_id, logs_id)
VALUES(2,3);
VALUES(2,3);

0 comments on commit d2bc173

Please sign in to comment.