Beispiel #1
0
 def create_db():
     """Este comando inicializa o db"""
     try:
         db.create_all()
     except OperationError as err:
         print("ERRO")
         print(err)
Beispiel #2
0
 def create_db():
     """Este comando inicializa o db"""
     db.create_all()
Beispiel #3
0
 def create_db():
     """Este comando inicializa o banco de dados"""
     try:
         db.create_all()
     except Exception as err:
         print('Deu ruim... :(' + err)
Beispiel #4
0
def create_db():
    """Creates database"""
    db.create_all()
Beispiel #5
0
 def create_db():
     db.create_all()
Beispiel #6
0
 def create_db():
     """comando inicializa o BD """
     db.create_all()
Beispiel #7
0
 def create_db():
     """Esse comando inicializa o banco de dados
     """
     db.create_all()
Beispiel #8
0
 def create_db():
     """Este comando inicializa o Banco de Dados"""
     db.create_all()