This commit is contained in:
Graham Campbell
2014-12-31 12:08:43 +00:00
parent 3c9478cdc4
commit e5a4325177

View File

@@ -1,28 +1,26 @@
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AlterTableSettingsValueLongText extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement("ALTER TABLE settings CHANGE `value` `value` LONGTEXT;");
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::statement("ALTER TABLE settings CHANGE `value` `value` TEXT;");
}
class AlterTableSettingsValueLongText extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement("ALTER TABLE settings CHANGE `value` `value` LONGTEXT;");
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
DB::statement("ALTER TABLE settings CHANGE `value` `value` TEXT;");
}
}