Detail column now supports lengthy updates

Fixes #1816
This commit is contained in:
Samuel Georges 2016-03-25 10:59:17 +11:00
parent 3cac52afd4
commit 010cd403f5
2 changed files with 20 additions and 1 deletions

View File

@ -4,7 +4,6 @@ use October\Rain\Database\Updates\Migration;
class DbSystemPluginHistory extends Migration
{
public function up()
{
Schema::create('system_plugin_history', function ($table) {

View File

@ -0,0 +1,20 @@
<?php
use October\Rain\Database\Updates\Migration;
class DbSystemPluginHistoryDetailText extends Migration
{
public function up()
{
Schema::table('system_plugin_history', function ($table) {
$table->text('detail')->nullable()->change();
});
}
public function down()
{
Schema::table('system_plugin_history', function ($table) {
$table->string('detail')->nullable()->change();
});
}
}