Skip to content
Snippets Groups Projects
Commit 1492529f authored by Rune Åvar Ødegård's avatar Rune Åvar Ødegård
Browse files

Changed zone table

parent 90eb8498
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,6 @@ http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.1.xsd">
<include file="update_v5.sql" relativeToChangelogFile="true"/>
<include file="update_v6.sql" relativeToChangelogFile="true"/>
<include file="update_v7.sql" relativeToChangelogFile="true"/>
<include file="update_v9.sql" relativeToChangelogFile="true"/>
</databaseChangeLog>
\ No newline at end of file
-- Alter zone schema
alter table zones alter column id drop default;
alter table zones alter column id type varchar(100) using id::varchar(100);
alter table zones alter column code type varchar(100) using code::varchar(100);
alter table zones alter column zone_type_uri set default 'http://inspire.ec.europa.eu/codeList/ZoneTypeCode/air';
alter table zones drop column zone_code;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment