increments('id'); $table->integer('user_id')->nullable(); $table->string('user_type', 100)->nullable(); $table->integer('project_id')->nullable(); $table->enum('payment_type', ['Online','Offline'])->nullable(); $table->date('payment_date')->nullable(); $table->float('debit')->nullable(); $table->float('credit')->nullable(); $table->text('details')->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('accounts'); } }