# Migration

Install the resource first, then follow the section for the resource you're coming from.

## esx_skin [#esx_skin]

<div className="fd-steps [&_h3]:fd-step">
  ### Connect [#connect]
  Connect to your server and log in to any character.

  ### Command Execution [#command-execution]
  Execute the command `/migrateskins` and wait for it to complete.

  ### Restart Server [#restart-server]
  After completing the migration, quit the game and restart your server. You should then be good to go.
</div>

## fivem-appearance [#fivem-appearance]

<Tabs groupId="framework" persist items={["ESX", "QB"]}>
  <Tab value="ESX">
    <div className="fd-steps [&_h3]:fd-step">
      ### Migrate Outfits [#migrate-outfits]
      Rename the `outfits` table to `player_outfits`. Change the column names in the `player_outfits` table as follows:

      - `identifier` → `citizenid`
      - `name` → `outfitname`
      - `ped` → `model`

      ### Restart Server [#restart-server-1]
      After completing the migration, quit the game and restart your server. You should then be good to go.
    </div>
  </Tab>
  <Tab value="QB">
    <div className="fd-steps [&_h3]:fd-step">
      ### Remove Outfits [#remove-outfits]
      Delete the `player_outfits` table from the database.

      ### Connect to Server [#connect-to-server]
      Connect to your server and log in to any character.

      ### Command Execution [#command-execution-1]
      Execute the command `/migrateskins fivem-appearance` and wait for it to complete.

      ### Restart Server [#restart-server-2]
      After completing the migration, quit the game and restart your server. You should then be good to go.
    </div>
  </Tab>
</Tabs>

## qb-clothing [#qb-clothing]

<div className="fd-steps [&_h3]:fd-step">
  ### Connect [#connect-1]
  Connect to your server and log in to any character.

  ### Command Execution [#command-execution-2]
  Execute the command `/migrateskins qb-clothing` and wait for it to complete.

  ### Restart Server [#restart-server-3]
  After completing the migration, quit the game and restart your server. You should then be good to go.
</div>
