diff options
author | Vitaly Takmazov | 2019-06-17 09:54:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-06-17 09:54:22 +0300 |
commit | cdafc30dbe57982844dd1b8fb3292c0013bd12ba (patch) | |
tree | 5ed8f1b0471d945aa7e2ee308fef32854405519b /src/main/resources/data-h2.sql | |
parent | c29d57ba5277603bff5a3ba1015bfa52adf4440f (diff) |
Load initial data into h2 on bootRun
Diffstat (limited to 'src/main/resources/data-h2.sql')
-rw-r--r-- | src/main/resources/data-h2.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/resources/data-h2.sql b/src/main/resources/data-h2.sql new file mode 100644 index 00000000..aff3e286 --- /dev/null +++ b/src/main/resources/data-h2.sql @@ -0,0 +1,9 @@ +INSERT INTO users(id, nick, passw) VALUES(0, 'Anonymous', 'password'); +INSERT INTO tags(tag_id, name) VALUES(2, 'juick'); +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'); |