Add constraints on poi tables

This commit is contained in:
Léo Serre 2019-04-08 20:26:32 +02:00
parent 72af644fcb
commit b5fa4fd21a
2 changed files with 696 additions and 1070 deletions

View File

@ -3,7 +3,7 @@
CAUTION: Do not modify this file unless you know what you are doing. CAUTION: Do not modify this file unless you know what you are doing.
Unexpected results may occur if the code is changed deliberately. Unexpected results may occur if the code is changed deliberately.
--> -->
<dbmodel pgmodeler-ver="0.9.2-alpha1" last-position="171,1067" last-zoom="0.9" max-obj-count="24" <dbmodel pgmodeler-ver="0.9.2-alpha1" last-position="0,998" last-zoom="0.9" max-obj-count="24"
default-owner="postgres"> default-owner="postgres">
<role name="kabano" <role name="kabano"
inherit="true" inherit="true"
@ -550,6 +550,12 @@ CAUTION: Do not modify this file unless you know what you are doing.
<constraint name="pois_pkey" type="pk-constr" table="public.pois"> <constraint name="pois_pkey" type="pk-constr" table="public.pois">
<columns names="id" ref-type="src-columns"/> <columns names="id" ref-type="src-columns"/>
</constraint> </constraint>
<constraint name="pois_permalink_key" type="uq-constr" table="public.pois">
<columns names="permalink" ref-type="src-columns"/>
</constraint>
<constraint name="pois_position_type_key" type="uq-constr" table="public.pois">
<columns names="position,type" ref-type="src-columns"/>
</constraint>
</table> </table>
<table name="poi_versions" layer="0" collapse-mode="2" max-obj-count="12"> <table name="poi_versions" layer="0" collapse-mode="2" max-obj-count="12">

File diff suppressed because it is too large Load Diff