mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-05 05:02:44 +01:00
13 lines
533 B
MySQL
13 lines
533 B
MySQL
|
CREATE TABLE {$NAMESPACE}_config.config_entry (
|
||
|
`id` INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||
|
`phid` VARCHAR(64) NOT NULL COLLATE utf8_bin,
|
||
|
`namespace` VARCHAR(64) BINARY NOT NULL COLLATE utf8_bin,
|
||
|
`configKey` VARCHAR(64) BINARY NOT NULL COLLATE utf8_bin,
|
||
|
`value` LONGTEXT NOT NULL,
|
||
|
`isDeleted` BOOL NOT NULL,
|
||
|
`dateCreated` INT UNSIGNED NOT NULL,
|
||
|
`dateModified` INT UNSIGNED NOT NULL,
|
||
|
UNIQUE KEY `key_phid` (`phid`),
|
||
|
UNIQUE KEY `key_name` (`namespace`, `configKey`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|