-
Notifications
You must be signed in to change notification settings - Fork 0
Database migrations
Ségolène Albouy edited this page Jul 1, 2026
·
4 revisions
Add manage command to your .bashrc:
echo "alias manage='front/venv/bin/python front/app/manage.py'" >> ~/.bashrc
source ~/.bashrcmanage showmigrations webappmanage dbshellmanage migrate --fake webapp 000X_migrationor
INSERT INTO django_migrations (app, name, applied)
VALUES ('webapp', '000X_migration', now());SELECT to_regclass('webapp_model_field');\dt