| 104 | pass |
| 105 | |
| 106 | class Order(Base): |
| 107 | __tablename__ = "orders" |
| 108 | |
| 109 | id: Mapped[int] = mapped_column(primary_key=True) |
| 110 | user_id: Mapped[int] |
| 111 | address_id: Mapped[int] |
| 112 | isopen: Mapped[bool] |
| 113 | description: Mapped[str] = mapped_column(deferred=True) |
| 114 | |
| 115 | q = fixture_session().query(Order).order_by(Order.id) |
| 116 |