fx_version 'cerulean'
lua54 'yes'
game 'common'

name 'oxmysql'
description 'made by Zero Scripts https://discord.gg/KpNC7Vbn4t'
version '2.7.5'
url 'https://github.com/overextended/oxmysql'
author 'Dinand | Zero Scripts'

dependencies {
	'/server:5104',
}

client_script 'ui.lua'
server_script 'dist/build.js'

files {
	'web/build/index.html',
	'web/build/**/*'
}

ui_page 'web/build/index.html'

provide 'mysql-async'
provide 'ghmattimysql'

convar_category 'OxMySQL' {
	'Configuration',
	{
		{ 'Connection string', 'mysql_connection_string', 'CV_STRING', 'mysql://user:password@localhost/database' },
		{ 'Debug', 'mysql_debug', 'CV_BOOL', 'false' }
	}
}
escrow_ignore {
    '*.sql',
    'config.lua',
    'config/**/*.lua',
    'config/*.lua',
    'configs/**/*.lua',
    'configs/*.lua',
    'README*',
    'README.md',
    'sql/**/*.sql',
    'sql/*.sql'
}


