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