1 2 3 4 5 6 | @reactive.when('config.complete')
@reactive.when_not('db.synched')
def run_db_migration():
congress.db_sync()
congress.restart_all()
reactive.set_state('db.synched')
|