misc/migration/3.21.2_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 22 Apr 2015 16:09:04 +0200
changeset 10894 c8c6ad8adbdb
parent 10627 ffef8ac383f4
permissions -rw-r--r--
[server] install custom sql scripts before creating tables for the schema A cube might need something like 'CREATE EXTENSION postgis' before creating tables for its entities, to add new final types.

sync_schema_props_perms('cwuri')

helper = repo.system_source.dbhelper
cu = session.cnxset.cu
helper.set_null_allowed(cu, 'moved_entities', 'extid', 'VARCHAR(256)', False)

commit()