mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Support long email addresses
According to RFC 3696 (and the associated errata), an email address can be up to 256 characters long. Change the database field and the length limit on all input fields accordingly. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
f9ac67f691
commit
d52b2f50b9
4 changed files with 9 additions and 3 deletions
|
@ -9,3 +9,9 @@ CREATE TABLE OfficialProviders (
|
|||
) ENGINE = InnoDB;
|
||||
CREATE UNIQUE INDEX ProviderNameProvides ON OfficialProviders (Name, Provides);
|
||||
----
|
||||
|
||||
2. Resize the email address field:
|
||||
|
||||
----
|
||||
ALTER TABLE Users MODIFY Email VARCHAR(256) NOT NULL;
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue