Esempio n. 1
0
def create_table_and_exit():
    from users import UserModel
    from analytics.SendToRemarkableRequestModel import SendToRemarkableRequestModel

    if not UserModel.exists():
        UserModel.create_table(wait=True)
    if not SendToRemarkableRequestModel.exists():
        SendToRemarkableRequestModel.create_table(wait=True)
    exit(0)
Esempio n. 2
0
def create_table_and_exit():
    from users import UserModel
    if not UserModel.exists():
        UserModel.create_table(wait=True)
    exit(0)