mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Split UPGRADING
Split the upgrade instructions into several files, one file per version in order to keep them small, readable and to avoid merge conflicts. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
5e49aca247
commit
1fe14899aa
19 changed files with 570 additions and 644 deletions
22
upgrading/2.3.0.txt
Normal file
22
upgrading/2.3.0.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
1. Add registration and inactivity time stamps to the "Users" table:
|
||||
|
||||
----
|
||||
ALTER TABLE Users
|
||||
ADD COLUMN RegistrationTS TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
ADD COLUMN InactivityTS BIGINT NOT NULL DEFAULT 0;
|
||||
----
|
||||
|
||||
2. Add fields to store the total number of TUs and the quorum to the
|
||||
"TU_VoteInfo" table:
|
||||
|
||||
----
|
||||
ALTER TABLE TU_VoteInfo
|
||||
ADD COLUMN ActiveTUs tinyint(3) unsigned NOT NULL default '0',
|
||||
ADD COLUMN Quorum decimal(2, 2) unsigned NOT NULL;
|
||||
----
|
||||
|
||||
3. Add a "fonts" category:
|
||||
|
||||
----
|
||||
INSERT INTO PackageCategories (Category) VALUES ('fonts');
|
||||
----
|
Loading…
Add table
Add a link
Reference in a new issue