misc/migration/3.19.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 23 Jan 2014 13:47:28 +0100
changeset 9469 032825bbacab
parent 9450 af4b93bc38a5
child 9708 b36bc18f6ef7
permissions -rw-r--r--
[multi-sources-removal] Drop entities.source column Since we remove federated multi-sources support, the same value ('system') is always stored in this column and so could be removed. Also, cleanup repository caches and a few api where the very same useless information could be removed. Closes #2919300, at last [jcr: restore sanity check of etype against schema in checkintegrity.has_eid]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9450
af4b93bc38a5 [multi-sources-removal] Drop deleted_entities system table and entities.mtime column
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
sql('DROP TABLE "deleted_entities"')
af4b93bc38a5 [multi-sources-removal] Drop deleted_entities system table and entities.mtime column
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
sql('ALTER TABLE "entities" DROP COLUMN "mtime"')
9469
032825bbacab [multi-sources-removal] Drop entities.source column
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 9450
diff changeset
     3
sql('ALTER TABLE "entities" DROP COLUMN "source"')
032825bbacab [multi-sources-removal] Drop entities.source column
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 9450
diff changeset
     4