Commit 8a650075 authored by Dmitry Gruzd's avatar Dmitry Gruzd

Fix regenerate-schema script location in docs

parent 6ddd51f8
......@@ -44,7 +44,7 @@ other people using `db/structure.sql` generated by Rails.
When your local database in your GDK is diverging from the schema from
`master` it might be hard to cleanly commit the schema changes to
Git. In that case you can use the `script/regenerate-schema` script to
Git. In that case you can use the `scripts/regenerate-schema` script to
regenerate a clean `db/structure.sql` for the migrations you're
adding. This script will apply all migrations found in `db/migrate`
or `db/post_migrate`, so if there are any migrations you don't want to
......@@ -53,10 +53,10 @@ targetting `master` you can set the `TARGET` environment variable.
```sh
# Regenerate schema against `master`
bin/regenerate-schema
scripts/regenerate-schema
# Regenerate schema against `12-9-stable-ee`
TARGET=12-9-stable-ee bin/regenerate-schema
TARGET=12-9-stable-ee scripts/regenerate-schema
```
## What Requires Downtime?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment