Release 4.0.0-rc2
[aur.git] / upgrading / 2.3.0.txt
blobd390d1c082f83ba4f98c595291eb7c989f520c86
1 1. Add registration and inactivity time stamps to the "Users" table:
3 ----
4 ALTER TABLE Users
5         ADD COLUMN RegistrationTS TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
6         ADD COLUMN InactivityTS BIGINT NOT NULL DEFAULT 0;
7 ----
9 2. Add fields to store the total number of TUs and the quorum to the
10    "TU_VoteInfo" table:
12 ----
13 ALTER TABLE TU_VoteInfo
14         ADD COLUMN ActiveTUs tinyint(3) unsigned NOT NULL default '0',
15         ADD COLUMN Quorum decimal(2, 2) unsigned NOT NULL;
16 ----
18 3. Add a "fonts" category:
20 ----
21 INSERT INTO PackageCategories (Category) VALUES ('fonts');
22 ----