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
iv
gitlab-ce
Commits
1fefd7cb
Commit
1fefd7cb
authored
Mar 22, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix db seeds for dev
parent
6e5999a6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
db/fixtures/development/004_teams.rb
db/fixtures/development/004_teams.rb
+2
-2
db/fixtures/development/005_issues.rb
db/fixtures/development/005_issues.rb
+19
-1
No files found.
db/fixtures/development/004_teams.rb
View file @
1fefd7cb
UsersProject
.
seed
(
:id
,
[
UsersProject
.
seed
(
:id
,
[
{
:id
=>
1
,
:project_id
=>
1
,
:user_id
=>
1
,
:project_access
=>
UsersProject
::
MASTER
},
{
:id
=>
1
,
:project_id
=>
1
,
:user_id
=>
1
,
:project_access
=>
UsersProject
::
MASTER
},
{
:id
=>
2
,
:project_id
=>
1
,
:user_id
=>
2
,
:project_access
=>
UsersProject
::
REPORTER
W
},
{
:id
=>
2
,
:project_id
=>
1
,
:user_id
=>
2
,
:project_access
=>
UsersProject
::
REPORTER
},
{
:id
=>
3
,
:project_id
=>
1
,
:user_id
=>
3
,
:project_access
=>
UsersProject
::
REPORTER
W
},
{
:id
=>
3
,
:project_id
=>
1
,
:user_id
=>
3
,
:project_access
=>
UsersProject
::
REPORTER
},
{
:id
=>
4
,
:project_id
=>
1
,
:user_id
=>
4
,
:project_access
=>
UsersProject
::
REPORTER
},
{
:id
=>
4
,
:project_id
=>
1
,
:user_id
=>
4
,
:project_access
=>
UsersProject
::
REPORTER
},
{
:id
=>
5
,
:project_id
=>
1
,
:user_id
=>
5
,
:project_access
=>
UsersProject
::
REPORTER
},
{
:id
=>
5
,
:project_id
=>
1
,
:user_id
=>
5
,
:project_access
=>
UsersProject
::
REPORTER
},
...
...
db/fixtures/development/005_issues.rb
View file @
1fefd7cb
...
@@ -15,7 +15,25 @@ Issue.seed(:id, [
...
@@ -15,7 +15,25 @@ Issue.seed(:id, [
{
:id
=>
13
,
:project_id
=>
3
,
:author_id
=>
2
,
:assignee_id
=>
2
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
13
,
:project_id
=>
3
,
:author_id
=>
2
,
:assignee_id
=>
2
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
14
,
:project_id
=>
3
,
:author_id
=>
3
,
:assignee_id
=>
3
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
14
,
:project_id
=>
3
,
:author_id
=>
3
,
:assignee_id
=>
3
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
15
,
:project_id
=>
3
,
:author_id
=>
4
,
:assignee_id
=>
4
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
15
,
:project_id
=>
3
,
:author_id
=>
4
,
:assignee_id
=>
4
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
16
,
:project_id
=>
3
,
:author_id
=>
5
,
:assignee_id
=>
5
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)}
{
:id
=>
16
,
:project_id
=>
3
,
:author_id
=>
5
,
:assignee_id
=>
5
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
21
,
:project_id
=>
1
,
:author_id
=>
1
,
:assignee_id
=>
1
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
22
,
:project_id
=>
1
,
:author_id
=>
2
,
:assignee_id
=>
2
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
23
,
:project_id
=>
1
,
:author_id
=>
3
,
:assignee_id
=>
3
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
24
,
:project_id
=>
1
,
:author_id
=>
4
,
:assignee_id
=>
4
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
25
,
:project_id
=>
1
,
:author_id
=>
5
,
:assignee_id
=>
5
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
26
,
:project_id
=>
2
,
:author_id
=>
1
,
:assignee_id
=>
1
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
27
,
:project_id
=>
2
,
:author_id
=>
2
,
:assignee_id
=>
2
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
28
,
:project_id
=>
2
,
:author_id
=>
3
,
:assignee_id
=>
3
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
29
,
:project_id
=>
2
,
:author_id
=>
4
,
:assignee_id
=>
4
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
30
,
:project_id
=>
2
,
:author_id
=>
5
,
:assignee_id
=>
5
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)
},
{
:id
=>
32
,
:project_id
=>
3
,
:author_id
=>
1
,
:assignee_id
=>
1
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
33
,
:project_id
=>
3
,
:author_id
=>
2
,
:assignee_id
=>
2
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
34
,
:project_id
=>
3
,
:author_id
=>
3
,
:assignee_id
=>
3
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
35
,
:project_id
=>
3
,
:author_id
=>
4
,
:assignee_id
=>
4
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)},
{
:id
=>
36
,
:project_id
=>
3
,
:author_id
=>
5
,
:assignee_id
=>
5
,
:title
=>
Faker
::
Lorem
.
sentence
(
6
)}
])
])
...
...
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