0.0.1
This commit is contained in:
22
resources/[esx_addons]/esx_datastore/esx_datastore.sql
Normal file
22
resources/[esx_addons]/esx_datastore/esx_datastore.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
CREATE TABLE `datastore` (
|
||||
`name` VARCHAR(60) NOT NULL,
|
||||
`label` VARCHAR(100) NOT NULL,
|
||||
`shared` INT NOT NULL,
|
||||
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
|
||||
CREATE TABLE `datastore_data` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`name` VARCHAR(60) NOT NULL,
|
||||
`owner` VARCHAR(60),
|
||||
`data` LONGTEXT,
|
||||
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `index_datastore_data_name_owner` (`name`, `owner`),
|
||||
INDEX `index_datastore_data_name` (`name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
Reference in New Issue
Block a user