Skip to content

Commit

Permalink
added db migration for mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
ushahidlee committed Oct 21, 2024
1 parent 4478b32 commit 84c9c8f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions database/migrations/phinx/20241021194747_embiggen_mime_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

use Phinx\Migration\AbstractMigration;

class EmbiggenMimeType extends AbstractMigration
{
public function change()
{
$this->table('media')
->changeColumn('mime', 'string', ['limit' => 128])
->update();
}

public function down()
{

}
}

0 comments on commit 84c9c8f

Please sign in to comment.