qbcore-framework / qb-garages

Garage System Used With QB-Core :car:
GNU General Public License v3.0
48 stars 260 forks source link

Fix: Add failsafe for old default DB value #344

Closed Qwerty1Verified closed 9 months ago

Qwerty1Verified commented 9 months ago

Describe Pull request This commit will implement a failsafe for if the database is reading "h" for the house garage heading value which was set as a default value by qb-houses in the SQL file. Setting a house garage in qb-houses stores it as "w" instead, in which this commit acts as a fix for data stored previously using "h".

Fixes issue: https://github.com/qbcore-framework/qb-garages/issues/341

Questions (please complete the following information):