Add constraints on poi tables

This commit is contained in:
Léo Serre 2019-04-08 20:26:32 +02:00
父節點 72af644fcb
當前提交 b5fa4fd21a
共有 2 個檔案被更改,包括 696 行新增1070 行删除

查看文件

@ -3,7 +3,7 @@
CAUTION: Do not modify this file unless you know what you are doing.
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">
<role name="kabano"
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">
<columns names="id" ref-type="src-columns"/>
</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 name="poi_versions" layer="0" collapse-mode="2" max-obj-count="12">

檔案差異因為檔案過大而無法顯示 載入差異