misc/migration/bootstrapmigration_repository.py
changeset 9708 b36bc18f6ef7
parent 9585 3f5b59527d31
child 10015 57a16bef82c0
child 10058 d47c318f95b2
--- a/misc/migration/bootstrapmigration_repository.py	Mon Apr 28 12:54:14 2014 +0200
+++ b/misc/migration/bootstrapmigration_repository.py	Mon Apr 28 11:20:26 2014 +0200
@@ -50,6 +50,11 @@
     session.commit()
 
 if applcubicwebversion < (3, 19, 0) and cubicwebversion >= (3, 19, 0):
+    sql('ALTER TABLE "entities" DROP COLUMN "mtime"')
+    sql('ALTER TABLE "entities" DROP COLUMN "source"')
+
+    commit()
+
     replace_eid_sequence_with_eid_numrange(session)
 
 if applcubicwebversion < (3, 17, 0) and cubicwebversion >= (3, 17, 0):