id(); $table->boolean('code_used')->default(0); $table->boolean('code_exported')->default(0); $table->date('date_creation'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('codes'); } }