mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-02 11:00:47 +00:00
ae1a7c8ca0
Co-Authored-By: GHMatti <ghmatti@users.noreply.github.com>
23 lines
476 B
SQL
23 lines
476 B
SQL
USE `essentialmode`;
|
|
|
|
CREATE TABLE `datastore` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(255) NOT NULL,
|
|
`label` varchar(255) NOT NULL,
|
|
`shared` int(11) NOT NULL,
|
|
|
|
PRIMARY KEY (`id`)
|
|
);
|
|
|
|
CREATE TABLE `datastore_data` (
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(255) NOT NULL,
|
|
`owner` varchar(255),
|
|
`data` longtext,
|
|
|
|
INDEX index_datastore_name (`name`),
|
|
CONSTRAINT unique_datastore_owner_name UNIQUE (`owner`, `name`),
|
|
|
|
PRIMARY KEY (`id`)
|
|
);
|