diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-10 08:41:22 +1100 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-10 08:41:22 +1100 |
commit | c277039fb40fb1fb1962f815d34f31c3056f209c (patch) | |
tree | 8b3f0eac96d28e1a43a6d777e4bfabbfe1d8876d /hubzilla_er | |
parent | 92577ddaed34f4402be29458f54ea55807b8b59e (diff) | |
parent | d1dbc50a1c88282df24aafa7e82b334436b02ed8 (diff) | |
download | volse-hubzilla-c277039fb40fb1fb1962f815d34f31c3056f209c.tar.gz volse-hubzilla-c277039fb40fb1fb1962f815d34f31c3056f209c.tar.bz2 volse-hubzilla-c277039fb40fb1fb1962f815d34f31c3056f209c.zip |
Merge pull request #135 from kenrestivo/account-id-link
Manually document account_id link for schemaSpy.
Diffstat (limited to 'hubzilla_er')
-rw-r--r-- | hubzilla_er/zot.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hubzilla_er/zot.xml b/hubzilla_er/zot.xml index f33e273eb..c1450b4fc 100644 --- a/hubzilla_er/zot.xml +++ b/hubzilla_er/zot.xml @@ -328,7 +328,9 @@ <child column="channel_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="mail"/> <child column="channel_id" foreignKey="Implied Constraint" implied="true" onDeleteCascade="false" table="profext"/> </column> - <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="channel_account_id" nullable="false" remarks="" size="10" type="INT UNSIGNED"/> + <column autoUpdated="false" defaultValue="0" digits="0" id="1" name="channel_account_id" nullable="false" remarks="" size="10" type="INT UNSIGNED"> + <foreignKey table="account" column="account_id"/> + </column> <column autoUpdated="false" defaultValue="0" digits="0" id="2" name="channel_primary" nullable="false" remarks="" size="0" type="BIT"/> <column autoUpdated="false" defaultValue="" digits="0" id="3" name="channel_name" nullable="false" remarks="" size="255" type="CHAR"/> <column autoUpdated="false" defaultValue="" digits="0" id="4" name="channel_address" nullable="false" remarks="" size="255" type="CHAR"/> |