Making a new migration table
$php artisan make:migration create_roles_table
Run and Reverse the migration
/**
* Run the migrations.
*
* @return void
*/
public function up() {
Schema::create('user_roles', function(Blueprint $t) {
$t->integer('role_id');
$t->primary('role_id');
$t->string('role');
$t->string('description');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down() {
Schema::drop('user_roles');
}
$php artisan migrate
$php artisan migrate:refresh