def main(): dump_data( os.path.join(JSONDIR, 'last_update'), [{'appname': APPNAME}] ) save('sa', [ ['last_update', 'AppDataLastUpdate', {'before_delete': {'appname': APPNAME}}], ])
def main(): save(APPNAME, MODELS)
def main(): relations = [ ['changes', 'Change', {}], ] save(APPNAME, relations) return
def main(): relations = [ ['configs', 'PortConfig', {'before_delete_all': True}], ] save(APPNAME, relations) return
def main(): relations = [["portlog", "Portlog", {}], ["fabriclog", "Fabriclog", {}]] save(APPNAME, relations) return
def main(): relations = [ ['volumes_changes', 'VolumeChange', {}], ] save(APPNAME, relations) return