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