More sql changes

This commit is contained in:
genuineparts 2025-06-22 16:06:47 +02:00
parent 2201cc2e31
commit 3af2e83a53

View file

@ -300,14 +300,21 @@ CREATE TABLE `as_users` (
`lang` varchar(3) NOT NULL DEFAULT '',
`lastvisit` int(11) NOT NULL DEFAULT 0,
`lastactive` int(11) NOT NULL DEFAULT 0,
`lastip` varbinary(16) DEFAULT NULL,
PRIMARY KEY (`uid`),
KEY `openid_identity` (`openid_identity`),
KEY `loginkey` (`loginkey`),
KEY `username` (`username`),
KEY `password` (`password`)
`lastip` varbinary(16) DEFAULT NULL
) 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`
--