increments('id'); $table->integer('business_id'); $table->string('name'); $table->string('account_number'); $table->enum('account_type', ['saving_current', 'capital'])->nullable(); $table->text('note')->nullable(); $table->integer('created_by'); $table->boolean('is_closed')->default(0); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('accounts'); } };