You need to sign in or sign up before continuing.
Commit b8b112f5 by Laís

primeira versão do projeto

parents
from models import db
db.create_all()
\ No newline at end of file
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
class Animal(db.Model):
id = db.Column(db.Integer, primary_key=True)
nome = db.Column(db.String(100))
especie = db.Column(db.String(100))
idade = db.Column(db.Integer)
peso = db.Column(db.Float)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment