Name of foreign key was given for easier access through propel. Also renamed phpName for ownerId
to fit the existing convention.
This commit is contained in:
Rudi Grinberg 2012-08-23 16:33:46 -04:00
parent b0a61fc291
commit 60803e5146
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@
<column name="soundcloud_link_to_file" phpName="DbSoundcloudLinkToFile" type="VARCHAR" size="4096" required="false"/>
<column name="soundcloud_upload_time" phpName="DbSoundCloundUploadTime" type="TIMESTAMP" size="6" required="false"/>
<column name="replay_gain" phpName="DbReplayGain" type="VARCHAR" size="16" required="false"/>
<column name="owner_id" phpName="ownerId" type="INTEGER" required="false"/>
<foreign-key foreignTable="cc_subjs" name="cc_files_owner_fkey">
<column name="owner_id" phpName="DbOwnerId" type="INTEGER" required="false"/>
<foreign-key foreignTable="cc_subjs" phpName="Owner" name="cc_files_owner_fkey">
<reference local="owner_id" foreign="id"/>
</foreign-key>
<foreign-key foreignTable="cc_subjs" name="cc_files_editedby_fkey">