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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
8922b7b7
Commit
8922b7b7
authored
Nov 16, 2017
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update database_debugging.md
parent
3d16f7cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
doc/development/database_debugging.md
doc/development/database_debugging.md
+3
-4
No files found.
doc/development/database_debugging.md
View file @
8922b7b7
...
...
@@ -9,7 +9,6 @@ An easy first step is to search for your error in Slack or google "GitLab <my er
Available
`RAILS_ENV`
-
`production`
(not sure if in GDK)
-
`development`
(this is your main GDK db)
-
`test`
(used for tests like rspec and spinach)
...
...
@@ -18,9 +17,9 @@ Available `RAILS_ENV`
If you just want to delete everything and start over,
-
`bundle exec rake d
b:drop RAILS_ENV=development`
-
`bundle exec rake db:
setup RAILS_ENV=development`
-
`bundle exec rake d
ev:setup RAILS_ENV=development`
: Also runs DB specific stuff and seeds dummy data (slow)
-
`bundle exec rake db:
reset RAILS_ENV=development`
: Doesn't do the above (fast)
-
`bundle exec rake db:reset RAILS_ENV=test`
: Fix the test DB, since it doesn't contain important data.
## Migration wrangling
...
...
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