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
24505d25
Commit
24505d25
authored
Nov 27, 2020
by
Tiger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop spring before resetting DB in scripts/regenerate-schema
parent
99382092
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
scripts/regenerate-schema
scripts/regenerate-schema
+7
-0
No files found.
scripts/regenerate-schema
View file @
24505d25
...
...
@@ -33,6 +33,7 @@ class SchemaRegenerator
checkout_clean_schema
hide_migrations
remove_schema_migration_files
stop_spring
reset_db
unhide_migrations
migrate
...
...
@@ -148,6 +149,12 @@ class SchemaRegenerator
run
(
git_command
).
chomp
.
split
(
"
\n
"
)
end
##
# Stop spring before modifying the database
def
stop_spring
run
%q[bin/spring stop]
end
##
# Run rake task to reset the database.
def
reset_db
...
...
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