mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 22:17:39 +00:00
add database config object
Adds a DatabaseConfig dictionary which will allow an admin to specify a custom table/columns that exist outside of ESX. This gives us flexibility between ESX versions as well as making the phone frameworkas decoupled from ESX as possible. Also updates the contacts table to be namespaces with npwd
This commit is contained in:
1 parent
3a172a425b
commit
cb75d2f5cc
5 files changed
+27
-7
No files matched your search
@@ -1,6 +1,8 @@
|
||||
-- comment this out if your server has a different table/location for phone_number
|
||||
-- or if it already exists in the users table
|
||||
ALTER TABLE `users` ADD COLUMN `phone_number` VARCHAR(20) NULL DEFAULT NULL;
|
||||
|
||||
CREATE TABLE es_extended.phone_contacts (
|
||||
CREATE TABLE npwd_phone_contacts (
|
||||
id int(11) NOT NULL AUTO_INCREMENT,
|
||||
identifier varchar(60) DEFAULT NULL,
|
||||
number varchar(10) DEFAULT NULL,
|
||||
|
||||
Reference in new issue
Block a user