forked from GNUsocial/gnu-social
		
	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:
		| @@ -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'), | ||||
|             ), | ||||
|             ) | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user