Exemplo n.º 1
0
def dropdb():
    """
    drops the database
    """
    if prompt_bool("Are you sure you want to lose all your data"):
        db.drop_all()
        print "Dropped the database"
Exemplo n.º 2
0
def dropdb():
    if prompt_bool("Are you sure you want to drop db?"):
        db.drop_all()
        print('Dropped databases')
Exemplo n.º 3
0
def dropdb():
    if prompt_bool('Are you sure you want to lose all your data'):
        db.drop_all()
        print 'Dropped Database'
Exemplo n.º 4
0
def dropdb():
    if prompt_bool('Are you sure you want to drop database'):
        db.drop_all()
        print 'Dropped the database'
Exemplo n.º 5
0
def dropdb():
    if prompt_bool("Are you sure you want to lose all your data"):
        db.drop_all()
        print 'Dropped the database'
Exemplo n.º 6
0
def dropdb():
    if prompt_bool(
            "are you sure you want to lose all your date?"):
        db.drop_all()
        print("dropped the database")
Exemplo n.º 7
0
def dropdb():
    if prompt_bool("Are you sure you want to lose all your data?"):
        db.drop_all()
        print("Dropped the database")
Exemplo n.º 8
0
def dropdb():
    if prompt_bool("Are you sure deleting Db"):
        db.dropdb()
        db.drop_all()
        print("Dropped DB")
Exemplo n.º 9
0
def dropdb():
    if prompt_bool("Are you sure you want to lose all your data"):
        db.drop_all()
        print("Dropped DB")
Exemplo n.º 10
0
def dropdb():
    if prompt_bool("Are you sure you want to loose all your data"):
        db.drop_all()
        print("Dropped all DB objects using db.drop_all command")
Exemplo n.º 11
0
def dropdb():
    if prompt_bool("are you sure to delete database?"):
        db.drop_all()
        print("Dropped the database")
Exemplo n.º 12
0
def dropdb():
    if prompt_bool("Are you sure to lose your data?"):
        db.drop_all()
        print('Dropped and lost!')
Exemplo n.º 13
0
def dropdb():
    if prompt_bool(
        "Are you sure you want to lose all your data"):
        db.drop_all()
        record_annotation(module="jobs", action="dropdb", text="Database Drop confirmed")
        print 'Dropped the database'
Exemplo n.º 14
0
def dropdb():
    if prompt_bool("Are you sure to delete DB"):
        db.drop_all()
        print 'Delete DB'