id(); $table->unsignedBigInteger('business_id'); $table->unsignedBigInteger('workflow_id'); $table->string('name'); $table->string('state')->default(enum('status.states.inactive.id')); $table->unsignedSmallInteger('order')->default(0); $table->timestamp('created_at')->nullable(); $table->timestamp('updated_at')->useCurrent(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('statuses'); // Schema::dropIfExists('status_workflow'); } }