Allow 0 file_id in third_party_trackrefs
The previous constraint of NOT NULL made it impossible to create a placeholder entry for later downloading. This uses a 0 default instead of the constraint and downloading as well as the green checkbox work again.
This commit is contained in:
parent
e3879b42a3
commit
7f00182913
5 changed files with 33 additions and 4 deletions
|
@ -543,7 +543,7 @@
|
|||
<column name="service" phpName="DbService" type="VARCHAR" size="256" required="true" />
|
||||
<!-- Make foreign ID a VARCHAR field in case a service uses hashes or other non-integer identifiers -->
|
||||
<column name="foreign_id" phpName="DbForeignId" type="VARCHAR" size="256" />
|
||||
<column name="file_id" phpName="DbFileId" type="INTEGER" required="true" />
|
||||
<column name="file_id" phpName="DbFileId" type="INTEGER" required="true" default="0" />
|
||||
<column name="upload_time" phpName="DbUploadTime" type="TIMESTAMP" />
|
||||
<column name="status" phpName="DbStatus" type="VARCHAR" size="256" />
|
||||
<unique name="foreign_id_unique">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue