Commit c70c7db1 authored by Evan Prodromou's avatar Evan Prodromou

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.
parent 8ca9f33f
......@@ -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'),
),
)
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment