Skip to content

Commit

Permalink
Modified documentation to match current procedures for changing schema
Browse files Browse the repository at this point in the history
  • Loading branch information
feyruzb committed Oct 16, 2024
1 parent a6663b3 commit e26da1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/web/db_schema_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ Edit the `sqlalchemy.url` option in
according to your database configuration.

### **Step 3**: Use alembic to autogenerate migration scripts
Change username and path to your CodeChecker installation.

`alembic --name config_db revision --autogenerate -m "Change description"`
`PYTHONPATH=/home/username/codechecker/build/CodeChecker/lib/python3 alembic --name config_db revision --autogenerate -m "Change description"`

### **Step 4**: Check the generated scripts

Expand Down

0 comments on commit e26da1d

Please sign in to comment.