id(); $table->string("name"); $table->timestamps(); }); DocumentState::create(["name"=> "Brouillon"]); DocumentState::create(["name"=> "Public"]); DocumentState::create(["name"=> "Privé"]); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('document_states'); } };