Skip to content

Commit 93658d1

Browse files
author
Ferenc Hammerl
committed
Add a file to insert dummy data
Will be useful for integration tests later, too.
1 parent 9b9e07d commit 93658d1

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

dbconfig/insert_rows.sql

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
INSERT INTO poll(
2+
id, latest_change, initiated, hidden, preferences_type, state, title)
3+
VALUES ('xsd4cv89t5f5um4b', null, now(), false, 'YESNO', 'OPEN', 'Qui sont les superhéros Marvel les plus oufs?');
4+
5+
INSERT INTO participant(
6+
name, email, poll_id)
7+
VALUES ('Jane Doe', 'mh+sample@doodle.com', 'xsd4cv89t5f5um4b');
8+
9+
INSERT INTO participant(
10+
name, email, poll_id)
11+
VALUES ('George Doe', 'mh+sample@doodle.com', 'xsd4cv89t5f5um4b');
12+
13+
INSERT INTO participant(
14+
name, email, poll_id)
15+
VALUES ('Markus Doe', 'mh+sample@doodle.com', 'xsd4cv89t5f5um4b');
16+
17+
18+
INSERT INTO poll(
19+
id, latest_change, initiated, hidden, preferences_type, state, title)
20+
VALUES ('v89t5f5um4bxsd4c', null, now(), false, 'YESNO', 'OPEN', '谁是最坏蛋奇迹超级英雄?');
21+
22+
INSERT INTO participant(
23+
name, email, poll_id)
24+
VALUES ('Revi Doe', 'mh+sample@doodle.com', 'v89t5f5um4bxsd4c');
25+
26+
INSERT INTO participant(
27+
name, email, poll_id)
28+
VALUES ('Johannes Doe', 'mh+sample@doodle.com', 'v89t5f5um4bxsd4c');

0 commit comments

Comments
 (0)