for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCustomersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
Schema::create('customers', function (Blueprint $table) {
$table->increments('cust_id');
$table->text('name');
$table->text('dba_name')->nullable();
$table->text('address');
$table->text('city');
$table->text('state');
$table->integer('zip');
$table->boolean('active')->default(1);
$table->softDeletes();
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('customers');