From 3e23b914d6306785af6ff923d166b79289a9780b Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sun, 6 Sep 2015 15:10:52 +0000 Subject: [PATCH] updated migration info --- codepot/README | 1 + 1 file changed, 1 insertion(+) diff --git a/codepot/README b/codepot/README index e3bef2cd..5784a4ac 100644 --- a/codepot/README +++ b/codepot/README @@ -16,6 +16,7 @@ UPGRADING FROM 0.2.0 mysql> ALTER TABLE site ADD COLUMN(summary VARCHAR(255) NOT NULL); mysql> RENAME TABLE user TO user_account; mysql> ALTER TABLE file DROP INDEX encname; + mysql> create the file_list table according to the definition found in codepot.mysql mysql> INSERT INTO file_list (projectid, name, filename, encname, md5sum, description) SELECT projectid, name, name, encname, md5sum, summary FROM file WHERE md5sum != ''; mysql> ALTER TABLE file DROP COLUMN summary; mysql> ALTER TABLE file DROP COLUMN md5sum;