Skip to content

Commit

Permalink
Create models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH committed May 11, 2024
1 parent 234bbd6 commit 77f3027
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions web/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# web/models.py
from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

class Pipfs(Base):
__tablename__ = 'pipfs'

id = Column(Integer, primary_key=True)
name = Column(String)
description = Column(String)
# ...

0 comments on commit 77f3027

Please sign in to comment.