Loading...
Loading...
Compare original and translation side by side
docs/published/handbook/engineering/developing-locally.md## Django migrations### Non-blocking migrations### Resolving merge conflictsdocs/published/handbook/engineering/safe-django-migrations.mddocs/published/handbook/engineering/databases/schema-changes.mdproducts/README.md## Adding or moving backend models and migrationsproducts/*clickhouse-migrationsdocs/published/handbook/engineering/developing-locally.md## Django 迁移### 非阻塞迁移### 解决合并冲突docs/published/handbook/engineering/safe-django-migrations.mddocs/published/handbook/engineering/databases/schema-changes.mdproducts/*products/README.md## 添加或迁移后端模型与迁移文件clickhouse-migrationsNOT NULLDEBUG=1 ./manage.py makemigrations [app_label]python manage.py rebase_migration <app> && git add <app>/migrationsposthogeesafe-django-migrations.mdSeparateDatabaseAndState./manage.py sqlmigrate <app> <migration_number>NOT NULLDEBUG=1 ./manage.py makemigrations [app_label]python manage.py rebase_migration <app> && git add <app>/migrations<app>posthogeesafe-django-migrations.mdSeparateDatabaseAndState./manage.py sqlmigrate <app> <migration_number>