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
97aa9646
Commit
97aa9646
authored
Aug 19, 2021
by
Lee Tickett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document dev database seed rake command
parent
0b5df713
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
doc/development/database_debugging.md
doc/development/database_debugging.md
+6
-0
No files found.
doc/development/database_debugging.md
View file @
97aa9646
...
...
@@ -25,6 +25,12 @@ If you just want to delete everything and start over with an empty DB (approxima
bundle
exec
rake db:reset
RAILS_ENV
=
development
```
If you want to seed the empty DB with sample data (approximately 4 minutes):
```
shell
bundle
exec
rake dev:setup
```
If you just want to delete everything and start over with sample data (approximately 4 minutes). This
also does
`db:reset`
and runs DB-specific migrations:
...
...
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