Gurucool_Test / models /school.py
ashwinR's picture
Upload 245 files
b7a7f32
raw
history blame
270 Bytes
from sqlalchemy import Column, Integer, String
from core.db import Base
class School(Base):
id = Column(Integer, primary_key=True)
name = Column(String(length=128), nullable=False)
address = Column(String(length=64))
__tablename__ = "school" # noqa