更新线上数据库 - linchuan1982/meta GitHub Wiki

更新线上数据库

transit服务器
/var/www/aishipin
全局python

git branch
git fetch
git merge origin/feature-material-library
DJANGO_SETTINGS_MODULE="aivideo.settings_test"  python manage.py makemigrations asset
DJANGO_SETTINGS_MODULE="aivideo.settings_test"  python manage.py migrate asset
git status
git add asset/migrations/0036_huazi_new_asset_id.py
git commit -m "asset: add new_asset_id in huazi"
git push