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

Update datamodel #51

Merged
merged 3 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void init() throws ParseException {
.setStatusProject("Voorbereiding")
.setStatusPlanologisch("3. In voorbereiding")
.setKnelpuntenMeerkeuze("Bereikbaarheid")
.setBeoogdWoonmilieuAbf13("Centrum-dorps")
.setBeoogdWoonmilieuAbf13("Centrum")
.setAantalStudentenwoningen(70)
.setSleutelproject(false);
Plancategorie[] plancategorieen = {
Expand Down
48 changes: 12 additions & 36 deletions src/main/resources/db/migration/V1__schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ create type pmw_planologisch_status as enum (
'2C. Vastgesteld, wijzigingsbevoegdheid',
'3. In voorbereiding',
'4A. Visie',
'4B. Optie');
'4B. Optie',
'5A. Ambtelijk met locatie',
'5B. Ambtelijk zonder locatie');

create type pmw_knelpunten_meerkeuze as enum (
'Ambtelijke capaciteit',
Expand All @@ -67,44 +69,18 @@ create type pmw_knelpunten_meerkeuze as enum (
'Stikstof',
'Vervuilde grond',
'Flora/fauna',
'Netcongestie');

create type pmw_eigendom as enum (
'Koopwoning',
'Huurwoning particuliere verhuurder',
'Huurwoning woningcorporatie',
'Onbekend');

create type pmw_knelpunten_plantype as enum (
'Herstructurering',
'Onbekend',
'Transformatie gebied',
'Transformatie gebouw',
'Uitbreiding overig',
'Uitbreiding uitleg',
'Verdichting');

create type pmw_woonmilieu_abf5 as enum (
'Buitencentrum',
'Centrum-stedelijk',
'Dorps',
'Groen-stedelijk',
'Landelijk');
'Netcongestie',
'Geen');

create type pmw_woonmilieu_abf13 as enum (
'Centrum-dorps',
'Centrum-kleinstedelijk',
'Centrum-stedelijk',
'Centrum-stedelijk-plus',
'Centrum',
'Stedelijk Compact',
'Stedelijk Grondgebonden',
'Stedelijk met Groen',
'Landelijk of Dorps bij de stad',
'Dorps',
'Groen-kleinstedelijk',
'Groen-stedelijk',
'Kleinstedelijk',
'Landelijk bereikbaar',
'Landelijk perifeer',
'Stedelijk naoorlogs compact',
'Stedelijk naoorlogs grondgebonden',
'Stedelijk vooroorlogs');
'Landelijk',
'Geen Woonmilieu');

create table planregistratie
(
Expand Down
Loading