mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Make sure that all valid IPv6 addresses fit into the LastLoginIPAddress field. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
11 lines
273 B
Text
11 lines
273 B
Text
1. Add a column to store ownership notification settings:
|
|
|
|
----
|
|
ALTER TABLE Users ADD COLUMN OwnershipNotify TINYINT(1) NOT NULL DEFAULT 1;
|
|
----
|
|
|
|
2. Resize the LastLoginIPAddress column:
|
|
|
|
----
|
|
ALTER TABLE Users MODIFY LastLoginIPAddress VARCHAR(45) NULL DEFAULT NULL;
|
|
----
|