for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Emmanuel Paul Mnzava
* Twitter: @epmnzava
* Github:https://github.com/dbrax/income-expense
* Email: [email protected]
*
*/
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateIncomeTable extends Migration
{
* Run the migrations.
* @return void
public function up()
Schema::create('income', function (Blueprint $table) {
$table->bigIncrements('id');
$table->integer('incomecategory');
$table->string('income_title')->nullable();
$table->integer('amount')->nullable();
$table->text('notes')->nullable();
$table->date('date');
$table->timestamps();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('income');