dbfdg id(); $table->string('name'); $table->string('period'); $table->string('from')->nullable(); $table->string('to')->nullable(); $table->text('income_data')->nullable(); $table->text('expense_data')->nullable(); $table->integer('created_by')->default(0); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('budgets'); } }