示例#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)
示例#2
0
def create_table_and_exit():
    from users import UserModel
    if not UserModel.exists():
        UserModel.create_table(wait=True)
    exit(0)