# Migration from V1

* Script should automatically detect if you migrate from old version, if it doesn't for some reason, add this columns in SQL

```sql
ALTER TABLE `reseller_vehicle`
  ADD COLUMN `coords` LONGTEXT NULL,
  ADD COLUMN `heading` INT NULL,
  ADD COLUMN `type` VARCHAR(50);
```

* after executing SQL, join server and run `/migratemarketplace` command
* after migrating all vehicles you should restart script
