createTable('car', [ 'car_id' => $this->primaryKey(), 'model' => $this->string() ->notNull(), 'year' => $this->integer() ->notNull(), 'image' => $this->string(), 'color' => $this->string(), 'mileage' => $this->float(), 'build' => $this->integer(), 'option' => $this->text(), 'price' => $this->float(), ]); } public function down() { $this->dropTable('car'); } }