bigInteger('id', true, true); $table->bigInteger('user_id', false, true); $table->bigInteger('business_id', false, true); $table->integer('amount', false, true); $table->boolean('succeeded')->default(false); $table->json('options')->nullable(); $table->timestamp('created_at')->nullable(); $table->timestamp('updated_at')->useCurrent(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('transactions'); } }