bigIncrements('id'); $table->string('code', 50); $table->string('name', 50); $table->decimal('price', 19, 2)->default(0.0); $table->decimal('cost', 19, 2)->default(0.0); $table->integer('capacity')->default(0)->unsigned(); $table->string('notes')->nullable(); $table->boolean('active')->default(true); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('fares'); } }