dbfdg id(); $table->string('name'); $table->date('date')->nullable(); $table->string('description')->nullable(); $table->decimal('amount', 16, 2)->default('0.0'); $table->string('attachment')->nullable(); $table->integer('project_id')->default(0); $table->integer('task_id')->default(0); $table->integer('created_by')->default(0); $table->timestamps(); }); } } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('expenses'); } }