33 lines
555 B
PHP
33 lines
555 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
class CreateOptionsTable extends Migration {
|
|
|
|
/**
|
|
* Run the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function up() {
|
|
Schema::create('options', function (Blueprint $table) {
|
|
$table->increments('id');
|
|
$table->text('option_name');
|
|
$table->text('option_value');
|
|
$table->text('autoload');
|
|
$table->timestamps();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down() {
|
|
Schema::drop('options');
|
|
}
|
|
|
|
}
|