mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Increase MIME type field length #1387
This commit is contained in:
parent
8a9f8253a8
commit
a22f6e5805
1 changed files with 2 additions and 2 deletions
|
|
@ -190,7 +190,7 @@ class file extends ModuleObject
|
|||
}
|
||||
if(!$oDB->isColumnExists('files', 'mime_type'))
|
||||
{
|
||||
$oDB->addColumn('files', 'mime_type', 'varchar', '60', '', true, 'file_size');
|
||||
$oDB->addColumn('files', 'mime_type', 'varchar', '100', '', true, 'file_size');
|
||||
}
|
||||
if(!$oDB->isIndexExists('files', 'idx_mime_type'))
|
||||
{
|
||||
|
|
@ -198,7 +198,7 @@ class file extends ModuleObject
|
|||
}
|
||||
if(!$oDB->isColumnExists('files', 'original_type'))
|
||||
{
|
||||
$oDB->addColumn('files', 'original_type', 'varchar', '60', null, false, 'mime_type');
|
||||
$oDB->addColumn('files', 'original_type', 'varchar', '100', null, false, 'mime_type');
|
||||
}
|
||||
if(!$oDB->isColumnExists('files', 'width'))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue