dbfdg bigIncrements('id'); $table->integer('user_id'); $table->string('user_type'); $table->integer('account'); $table->string('type')->nullable(); $table->decimal('amount', 16, 2)->default('0.0'); $table->text('description')->nullable(); $table->date('date'); $table->integer('created_by')->default('0'); $table->integer('payment_id')->default('0'); $table->string('category'); $table->timestamps(); } ); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('transactions'); } }