
Create a complete e-commerce application with the following features: - User authentication and authorization - Product and category management - Shopping cart functionality - Order processing - Database migrations with Alembic - Comprehensive documentation
15 lines
439 B
Plaintext
15 lines
439 B
Plaintext
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 |