cubicweb/misc/migration/3.24.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 30 Sep 2016 17:38:12 +0200
changeset 11773 054a947b5415
parent 11757 e845746b4d3c
child 11774 51c160677afe
permissions -rw-r--r--
[repository] Drop the entities.asource column It not used anymore thanks to previous patches. Closes #15538288

# Check the CW versions and add the entity only if needed ?
add_entity_type('CWSession')
rql('DELETE CWProperty X WHERE X pkey "system.version.pyramid"',
    ask_confirm=False)

sql('DROP TABLE moved_entities')
sql('ALTER TABLE entities DROP COLUMN asource')