mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-27 07:50:57 +01:00
12 lines
423 B
MySQL
12 lines
423 B
MySQL
|
CREATE TABLE {$NAMESPACE}_user.user_status (
|
||
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
||
|
`userPHID` varchar(64) NOT NULL,
|
||
|
`dateFrom` int unsigned NOT NULL,
|
||
|
`dateTo` int unsigned NOT NULL,
|
||
|
`status` tinyint unsigned NOT NULL,
|
||
|
`dateCreated` int unsigned NOT NULL,
|
||
|
`dateModified` int unsigned NOT NULL,
|
||
|
PRIMARY KEY (`id`),
|
||
|
INDEX `userPHID_dateFrom` (`userPHID`, `dateTo`)
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|