Skip to content

Commit

Permalink
PollingStation property alignment with EML/Figma (#774)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Janssen <[email protected]>
Co-authored-by: Ellen <[email protected]>
  • Loading branch information
3 people authored Dec 24, 2024
1 parent fce73be commit 77e0190
Show file tree
Hide file tree
Showing 29 changed files with 246 additions and 408 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

24 changes: 12 additions & 12 deletions backend/fixtures/polling_stations.sql
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
INSERT INTO polling_stations (id, election_id, name, number, number_of_voters, polling_station_type, street,
house_number, house_number_addition, postal_code, locality)
VALUES (1, 1, 'Op Rolletjes', 33, NULL, 'Mobile', 'Rijksweg A12', '1', NULL, '1234 YQ', 'Den Haag'),
(2, 1, 'Testplek', 34, 1000, 'Special', 'Teststraat', '2', 'b', '1234 QY', 'Testdorp'),
(3, 2, 'Testgebouw', 35, NULL, 'FixedLocation', 'Testweg', '3', NULL, '1234 QA', 'Teststad'),
(4, 3, 'Studio The Rules', 1, NULL, 'FixedLocation', 'Gerontoplein', '1', NULL, '1337 YQ', 'Juinen'),
(5, 3, 'Buurtcentrum de Mattenklopper', 2, 1000, 'Special', 'Complexiteitslaan', '2', 'b', '1337 QY',
INSERT INTO polling_stations (id, election_id, name, number, number_of_voters, polling_station_type, address,
postal_code, locality)
VALUES (1, 1, 'Op Rolletjes', 33, NULL, 'Mobile', 'Rijksweg A12 1', '1234 YQ', 'Den Haag'),
(2, 1, 'Testplek', 34, 1000, 'Special', 'Teststraat 2b', '1234 QY', 'Testdorp'),
(3, 2, 'Testgebouw', 35, NULL, 'FixedLocation', 'Testweg 3', '1234 QA', 'Teststad'),
(4, 3, 'Studio The Rules', 1, NULL, 'FixedLocation', 'Gerontoplein 1', '1337 YQ', 'Juinen'),
(5, 3, 'Buurtcentrum de Mattenklopper', 2, 1000, 'Special', 'Complexiteitslaan 2b', '1337 QY',
'Juinen'),
(6, 3, 'Positivo Zaal', 3, NULL, 'FixedLocation', 'Kerkweg', '3', NULL, '1337 QA', 'Juinen'),
(7, 4, 'Studio The Rules', 1, NULL, 'FixedLocation', 'Gerontoplein', '1', NULL, '1337 YQ', 'Juinen'),
(8, 4, 'Buurtcentrum de Mattenklopper', 2, 1000, 'Special', 'Complexiteitslaan', '2', 'b', '1337 QY',
(6, 3, 'Positivo Zaal', 3, NULL, 'FixedLocation', 'Kerkweg 3', '1337 QA', 'Juinen'),
(7, 4, 'Studio The Rules', 1, NULL, 'FixedLocation', 'Gerontoplein 1', '1337 YQ', 'Juinen'),
(8, 4, 'Buurtcentrum de Mattenklopper', 2, 1000, 'Special', 'Complexiteitslaan 2b', '1337 QY',
'Juinen'),
(9, 4, 'Positivo Zaal', 3, NULL, 'FixedLocation', 'Kerkweg', '3', NULL, '1337 QA', 'Juinen'),
(10, 5, 'Buurthuis de Snelste', 103, NULL, 'FixedLocation', 'Kiespolder', '1', 'a', '1884 IT', 'Kiespolder');
(9, 4, 'Positivo Zaal', 3, NULL, 'FixedLocation', 'Kerkweg 3', '1337 QA', 'Juinen'),
(10, 5, 'Buurthuis de Snelste', 103, NULL, 'FixedLocation', 'Kiespolder 1a', '1884 IT', 'Kiespolder');
6 changes: 2 additions & 4 deletions backend/migrations/2_polling_stations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ CREATE TABLE polling_stations
name TEXT NOT NULL,
number INTEGER NOT NULL,
number_of_voters INTEGER,
polling_station_type TEXT NOT NULL,
street TEXT NOT NULL,
house_number TEXT NOT NULL,
house_number_addition TEXT,
polling_station_type TEXT,
address TEXT NOT NULL,
postal_code TEXT NOT NULL,
locality TEXT NOT NULL,

Expand Down
Loading

0 comments on commit 77e0190

Please sign in to comment.