Remove unique key on file_thumbnail.url
We're getting "DB error: already exists" on thumbnails coming from embed.ly. We don't need this to be unique, so let's avoid that.
This commit is contained in:
parent
8ca9f33f45
commit
c70c7db1c5
|
@ -56,10 +56,7 @@ class File_thumbnail extends Managed_DataObject
|
|||
'primary key' => array('file_id'),
|
||||
'foreign keys' => array(
|
||||
'file_thumbnail_file_id_fkey' => array('file', array('file_id' => 'id')),
|
||||
),
|
||||
'unique keys' => array(
|
||||
'file_thumbnail_url_key' => array('url'),
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user