summaryrefslogtreecommitdiffstats
path: root/upgrading/4.1.0.txt
blob: 7862030479448a414857d155db573d0c91923950 (plain)
1
2
3
4
5
6
7
8
9
1. Add a timestamp for comment editing/deletion and an ID of the last user
who edited a comment:

----
ALTER TABLE PackageComments
	ADD COLUMN EditedTS BIGINT UNSIGNED NULL DEFAULT NULL,
	ADD COLUMN EditedUsersID INTEGER UNSIGNED NULL DEFAULT NULL,
	ADD FOREIGN KEY (EditedUsersID) REFERENCES Users(ID) ON DELETE SET NULL;
----