Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
34 lines (31 sloc) 702 Bytes
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateRulesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('rules', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->text('description');
$table->string('validator_name');
$table->text('parameters');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('rules');
}
}
You can’t perform that action at this time.