upgrade
Applies database schema migrations by creating the 'user' and 'item' tables, defining their columns, constraints, and indexes using Alembic and SQLAlchemy.
def upgrade() - > null
Applies database schema migrations by creating the 'user' and 'item' tables along with their associated indexes and foreign key constraints.
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function performs in-place database schema modifications. |