Files
faveo/database/migrations/2015_05_15_080512_create_options_table.php
2015-12-22 14:09:23 +05:30

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');
}
}