Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atividade_tres
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayram
atividade_tres
Commits
b8b112f5
Commit
b8b112f5
authored
Apr 09, 2026
by
Laís
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
primeira versão do projeto
parents
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
app.py
app.py
+3
-0
models.py
models.py
+11
-0
No files found.
app.py
0 → 100644
View file @
b8b112f5
from
models
import
db
db
.
create_all
()
\ No newline at end of file
models.py
0 → 100644
View file @
b8b112f5
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment