Manage your database efficiently through SQLAlchemy
and Alembic
.
- create a Python virtual environment and install all the required packages
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- initialize Alembic
alembic init alembic
- edit the
alembic.ini
file and proivide your database URL and mode. - create migration
alembic revision --autogenerate -m "YOUR COMMENT"
- push the migration to database
alembic upgrade head
I am Raj Kapadia
, I am passionate about AI/ML/DL
and their use in different domains, I also love to build chatbots
using Google Dialogflow
. For any work, you can reach out to me at...