qbcore-framework / qb-clothing

Clothing Script Used With QB-Core :shirt:
GNU General Public License v3.0
33 stars 232 forks source link

AUTO_INCREMENT fix #177

Closed LukatsEE closed 1 year ago

LukatsEE commented 1 year ago

AUTO_INCREMENT fix, couldn't add it to database

tom-osborne commented 1 year ago

The default value for AUTO_INCREMENT is 1, so it is unclear why you feel the need to add this?

What issue is this trying to resolve?

LukatsEE commented 1 year ago

This is the issue "#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 10" Also there is create bug about it on https://github.com/qbcore-framework/qb-clothing/issues/165

By adding "AUTO_INCREMENT=1" not "AUTO_INCREMENT" then the issue is solved