From eac73092e08b2af91f0ab9b115b3da60c3dd57d0 Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Sat, 23 Jun 2018 11:51:09 +0200 Subject: [PATCH] Added missing SQL information --- README.md | 9 +++------ esx_joblisting.sql | 3 +++ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 esx_joblisting.sql diff --git a/README.md b/README.md index ec1b6e26..c1fd14aa 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,5 @@ # esx_joblisting -Simple job listing script, you can specify what jobs you want to be whitelisted. - -### Update -If you have an outdated version of ES Extended, you might need to run the following on your SQL server: - -`ALTER TABLE jobs add whitelisted BOOLEAN NOT NULL DEFAULT FALSE;` +Simple job listing script, you can specify what jobs you want to be whitelisted in db. ## Download & Installation @@ -23,6 +18,8 @@ git clone https://github.com/ESX-Org/esx_joblisting [esx]/esx_joblisting - Download https://github.com/ESX-Org/esx_joblisting/archive/master.zip - Put it in the `[esx]` directory +## Installation +- Import `esx_joblisting.sql` in your database - Add this in your `server.cfg`: ``` diff --git a/esx_joblisting.sql b/esx_joblisting.sql new file mode 100644 index 00000000..f5f134f6 --- /dev/null +++ b/esx_joblisting.sql @@ -0,0 +1,3 @@ +USE `essentialmode`; + +ALTER TABLE jobs add whitelisted BOOLEAN NOT NULL DEFAULT FALSE; \ No newline at end of file