Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DV-000287: Add old Poland between 1956 and 1976 plates. #335

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/main/resources/sql/countries/poland_1956_1976.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
DROP TABLE IF EXISTS `poland_old_entity`;

CREATE TABLE `poland_old_entity` (
`id` bigint NOT NULL AUTO_INCREMENT,
`description` varchar(255) DEFAULT NULL,
`region` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

LOCK TABLES `poland_old_entity` WRITE;
/*!40000 ALTER TABLE `poland_old_entity` DISABLE KEYS */;
INSERT INTO `poland_old_entity` (description, region) VALUES
('Białystok Voivodeship','A'),
('Bydgoszcz Voivodeship','B'),
('Kielce Voivodeship','C'),
('Koszalin Voivodeship','E'),
('Łódź Voivodeship','F'),
('Gdańsk Voivodeship','G'),
('Opole Voivodeship','H'),
('city of Łódź','I'),
('Kraków Voivodeship','K'),
('Lublin Voivodeship','L'),
('Szczecin Voivodeship','M'),
('Olsztyn Voivodeship','O'),
('Poznań Voivodeship','P'),
('Rzeszów Voivodeship','R'),
('Katowice Voivodeship','S'),
('Warsaw Voivodeship','T'),
('capital city of Warsaw','W'),
('Wrocław Voivodeship','X'),
('Zielona Góra Voivodeship','Z');
UNLOCK TABLES;

ALTER TABLE poland_old_entity ADD INDEX poland_index (description, region);