summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UPGRADING5
1 files changed, 3 insertions, 2 deletions
diff --git a/UPGRADING b/UPGRADING
index d9860bb3..71b3d1da 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -50,8 +50,9 @@ CREATE TABLE PackageBases (
4. Migrate data from Packages to PackageBases:
----
-INSERT INTO PackageBases SELECT ID, Name, CategoryID, NumVotes, OutOfDateTS,
- SubmittedTS, ModifiedTS, SubmitterUID, MaintainerUID FROM Packages;
+INSERT INTO PackageBases
+ SELECT ID, Name, CategoryID, NumVotes, OutOfDateTS, SubmittedTS,
+ ModifiedTS, SubmitterUID, MaintainerUID, NULL FROM Packages;
----
5. Delete unneeded foreign keys from Packages: