aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/data-postgresql.sql
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-29 00:45:31 +0300
committerGravatar Vitaly Takmazov2023-01-29 00:45:31 +0300
commitfbc5c1330679b12b09c6d970ee1750fa83f4cac4 (patch)
tree8966bd82155ac2413f4ef87717269e484ae407e9 /src/test/resources/data-postgresql.sql
parent6cd35dbc723a64720c08a331ede9e605df11b8b4 (diff)
Move postgres db initialization to tests
Diffstat (limited to 'src/test/resources/data-postgresql.sql')
-rw-r--r--src/test/resources/data-postgresql.sql13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/resources/data-postgresql.sql b/src/test/resources/data-postgresql.sql
deleted file mode 100644
index 673b24d2..00000000
--- a/src/test/resources/data-postgresql.sql
+++ /dev/null
@@ -1,13 +0,0 @@
-INSERT INTO users(id, nick, passw) VALUES(0, 'Anonymous', 'password');
-INSERT INTO users(id, nick, passw) VALUES(2, 'juick', 'password');
-INSERT INTO users(id, nick, passw) VALUES(5, 'archive', 'password');
-INSERT INTO tags(tag_id, name) VALUES(2, 'juick');
-alter sequence tags_tag_id_seq restart with 10;
-alter sequence users_id_seq restart with 10;
-INSERT INTO reactions (like_id, description) VALUES (1, 'like');
-INSERT INTO reactions (like_id, description) VALUES (2, 'love');
-INSERT INTO reactions (like_id, description) VALUES (3, 'lol');
-INSERT INTO reactions (like_id, description) VALUES (4, 'hmm');
-INSERT INTO reactions (like_id, description) VALUES (5, 'angry');
-INSERT INTO reactions (like_id, description) VALUES (6, 'uhblya');
-INSERT INTO reactions (like_id, description) VALUES (7, 'ugh');