for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCountriesTable extends Migration
{
/**
* Run the migrations.
*/
public function up()
Schema::create('countries', function (Blueprint $table) {
$table->increments('id');
$table->string('code');
$table->label();
$table->name();
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('countries');