CC-5896: Store cloud files in separate table, inherited from cc_files
Added delete on cascade for cloud files
This commit is contained in:
parent
f6aa2e5a3b
commit
6fa7ddba9a
6 changed files with 12 additions and 9 deletions
|
@ -103,7 +103,7 @@
|
|||
<column name="id" phpName="DbId" required="true" primaryKey="true" autoIncrement="true" type="INTEGER"/>
|
||||
<column name="resource_id" phpName="ResourceId" type="LONGVARCHAR" required="true"/>
|
||||
<column name="cc_file_id" type="INTEGER"/>
|
||||
<foreign-key foreignTable="cc_files">
|
||||
<foreign-key foreignTable="cc_files" onDelete="CASCADE">
|
||||
<reference local="cc_file_id" foreign="id"/>
|
||||
</foreign-key>
|
||||
<behavior name="delegate">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue