ESX jobs: add and edit jobs
A job in ESX is a role a player can hold, like police or mechanic. Each job has grades, which are the ranks inside that job, like Cadet then Officer then Chief. The big difference from QBCore: ESX does not store jobs in a jobs.lua file. ESX stores them in your SQL database, the place your server saves all its data. You add a job by inserting rows into two tables, then restarting. This lesson shows you those tables and the exact statements to run.
The two tables
ESX keeps every job in two tables in your fivem database. A table is a grid of rows and columns, like a spreadsheet sheet.
The table holds one row per job. It is the short list of what jobs exist.