File_oembed varchar to text changes
No need to have text length limitations in the database for fields which very well may be longer than what was previously set.
This commit is contained in:
parent
12d77ac3e4
commit
feb6b636f4
|
@ -49,15 +49,15 @@ class File_oembed extends Managed_DataObject
|
|||
'version' => array('type' => 'varchar', 'length' => 20, 'description' => 'oEmbed spec. version'),
|
||||
'type' => array('type' => 'varchar', 'length' => 20, 'description' => 'oEmbed type: photo, video, link, rich'),
|
||||
'mimetype' => array('type' => 'varchar', 'length' => 50, 'description' => 'mime type of resource'),
|
||||
'provider' => array('type' => 'varchar', 'length' => 50, 'description' => 'name of this oEmbed provider'),
|
||||
'provider_url' => array('type' => 'varchar', 'length' => 191, 'description' => 'URL of this oEmbed provider'),
|
||||
'provider' => array('type' => 'text', 'description' => 'name of this oEmbed provider'),
|
||||
'provider_url' => array('type' => 'text', 'description' => 'URL of this oEmbed provider'),
|
||||
'width' => array('type' => 'int', 'description' => 'width of oEmbed resource when available'),
|
||||
'height' => array('type' => 'int', 'description' => 'height of oEmbed resource when available'),
|
||||
'html' => array('type' => 'text', 'description' => 'html representation of this oEmbed resource when applicable'),
|
||||
'title' => array('type' => 'varchar', 'length' => 191, 'description' => 'title of oEmbed resource when available'),
|
||||
'author_name' => array('type' => 'varchar', 'length' => 50, 'description' => 'author name for this oEmbed resource'),
|
||||
'author_url' => array('type' => 'varchar', 'length' => 191, 'description' => 'author URL for this oEmbed resource'),
|
||||
'url' => array('type' => 'varchar', 'length' => 191, 'description' => 'URL for this oEmbed resource when applicable (photo, link)'),
|
||||
'title' => array('type' => 'text', 'description' => 'title of oEmbed resource when available'),
|
||||
'author_name' => array('type' => 'text', 'description' => 'author name for this oEmbed resource'),
|
||||
'author_url' => array('type' => 'text', 'description' => 'author URL for this oEmbed resource'),
|
||||
'url' => array('type' => 'text', 'description' => 'URL for this oEmbed resource when applicable (photo, link)'),
|
||||
'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
|
||||
),
|
||||
'primary key' => array('file_id'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user