More sql changes
This commit is contained in:
parent
2201cc2e31
commit
3af2e83a53
1 changed files with 13 additions and 6 deletions
|
@ -300,14 +300,21 @@ CREATE TABLE `as_users` (
|
||||||
`lang` varchar(3) NOT NULL DEFAULT '',
|
`lang` varchar(3) NOT NULL DEFAULT '',
|
||||||
`lastvisit` int(11) NOT NULL DEFAULT 0,
|
`lastvisit` int(11) NOT NULL DEFAULT 0,
|
||||||
`lastactive` int(11) NOT NULL DEFAULT 0,
|
`lastactive` int(11) NOT NULL DEFAULT 0,
|
||||||
`lastip` varbinary(16) DEFAULT NULL,
|
`lastip` varbinary(16) DEFAULT NULL
|
||||||
PRIMARY KEY (`uid`),
|
|
||||||
KEY `openid_identity` (`openid_identity`),
|
|
||||||
KEY `loginkey` (`loginkey`),
|
|
||||||
KEY `username` (`username`),
|
|
||||||
KEY `password` (`password`)
|
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
ALTER TABLE `as_users`
|
||||||
|
ADD PRIMARY KEY (`uid`),
|
||||||
|
ADD KEY `loginkey` (`loginkey`),
|
||||||
|
ADD KEY `username` (`username`),
|
||||||
|
ADD KEY `password` (`password`),
|
||||||
|
ADD KEY `openid_identity` (`openid_identity`),
|
||||||
|
ADD KEY `role` (`role`);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE `as_users`
|
||||||
|
MODIFY `uid` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
|
||||||
|
COMMIT;
|
||||||
--
|
--
|
||||||
-- Tabellenstruktur für Tabelle `as_datacache`
|
-- Tabellenstruktur für Tabelle `as_datacache`
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue