File size: 270 Bytes
b7a7f32
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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