mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove "NewPkgNotify" column from "Users" table.
We do not require this column anymore. New package notifications are no longer supported. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d73f9df39b
commit
2b460a8f2d
2 changed files with 6 additions and 2 deletions
|
@ -7,6 +7,12 @@ From 1.8.2 to 1.9.0
|
|||
1. Translation files are now gettext compatible and need to be compiled after
|
||||
each AUR upgrade by running `make install` in the "po/" directory.
|
||||
|
||||
2. Remove the "NewPkgNotify" column from the "Users" table:
|
||||
|
||||
----
|
||||
ALTER TABLE Users DROP COLUMN NewPkgNotify;
|
||||
----
|
||||
|
||||
From 1.8.1 to 1.8.2
|
||||
-------------------
|
||||
|
||||
|
|
|
@ -32,12 +32,10 @@ CREATE TABLE Users (
|
|||
LangPreference VARCHAR(5) NOT NULL DEFAULT 'en',
|
||||
IRCNick VARCHAR(32) NOT NULL DEFAULT '',
|
||||
LastVoted BIGINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
NewPkgNotify TINYINT UNSIGNED NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (ID),
|
||||
UNIQUE (Username),
|
||||
UNIQUE (Email),
|
||||
INDEX (AccountTypeID),
|
||||
INDEX (NewPkgNotify),
|
||||
FOREIGN KEY (AccountTypeID) REFERENCES AccountTypes(ID) ON DELETE NO ACTION
|
||||
) ENGINE = InnoDB;
|
||||
-- A default developer account for testing purposes
|
||||
|
|
Loading…
Add table
Reference in a new issue