2023-02-19 17:49:44 +04:00
|
|
|
from sqlalchemy import Column, String, Integer
|
|
|
|
|
2023-02-27 20:11:55 +04:00
|
|
|
from . import Base
|
2023-02-19 17:49:44 +04:00
|
|
|
|
|
|
|
|
|
|
|
class User(Base):
|
|
|
|
__tablename__ = 'users'
|
|
|
|
|
|
|
|
id = Column(Integer, primary_key=True)
|
2023-02-20 12:09:43 +04:00
|
|
|
email = Column(String(32))
|
|
|
|
name = Column(String(32))
|
2023-02-19 17:49:44 +04:00
|
|
|
age = Column(Integer)
|