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