8 lines
206 B
Python
8 lines
206 B
Python
from sqlalchemy import Column, ForeignKey, Integer, String, Text
|
|
from app.api.db.database import Base
|
|
|
|
class Posts(Base):
|
|
__tablename__ = 'posts'
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|