Create model/migration for budgets
ADD
app/Budget.php
+<?php
+
+namespace App;
+
+use Illuminate\Database\Eloquent\Model;
+
+class Budget extends Model {
+ //
+}

ADD
database/migrations/2017_08_03_175227_create_budgets_table.php
+<?php
+
+use Illuminate\Support\Facades\Schema;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class CreateBudgetsTable extends Migration {
+ public function up() {
+ Schema::create('budgets', function (Blueprint $table) {
+ $table->increments('id');
+ $table->integer('month');
+ $table->integer('year');
+ $table->float('amount');
+ });
+ }
+
+ public function down() {
+ Schema::dropIfExists('budgets');
+ }
+}

Create model/migration for budgets