Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8a650075
Commit
8a650075
authored
Apr 29, 2020
by
Dmitry Gruzd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix regenerate-schema script location in docs
parent
6ddd51f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/migration_style_guide.md
doc/development/migration_style_guide.md
+3
-3
No files found.
doc/development/migration_style_guide.md
View file @
8a650075
...
...
@@ -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
`script
s
/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?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment