Automated Action da59077885 Switch from email to username for authentication
- Add username field to User model
- Update authentication endpoints to use username instead of email
- Create migration for adding username column to user table
- Update user services to handle username validation and uniqueness
- Maintain email for compatibility, but make username the primary identifier
2025-05-26 13:17:17 +00:00
..

Generic single-database configuration with SQLAlchemy.

This directory contains Alembic migration scripts for the e-commerce application database.

To create a new migration script:
$ alembic revision --autogenerate -m "Description of the changes"

To apply all migration scripts to the database:
$ alembic upgrade head

To downgrade to a specific revision:
$ alembic downgrade <revision_id>

To get the current revision:
$ alembic current