Commit 7fbaab35 authored by dario's avatar dario

db_upgrades: add version5

parent 9e024f87
#!/usr/bin/python
# Lift DB to version 5
#
# Changes:
#
# Adds `
#
# Rationale:
#
# - Up to this version, we've had everything world-accessible,
# therefore we need to set the is_internal flag to False for
# everything that already exists
import simple_upgrade
import util.univis
def set_public_false(meta):
meta['internal_net_only'] = False
return meta
if __name__ == "__main__":
simple_upgrade.upgrade(5, lambda _, x: set_public_false(x))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment