diff options
author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-11-07 17:22:15 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-11-07 17:22:15 +0000 |
commit | 6e911a119fdcdb8782babc3c50a44fbc6730bb3f (patch) | |
tree | 4a628e81e5161a9d6d421969b4e9c2631385c10d /db/fixtures | |
parent | 24d3486f6b4db7b1d5cb110012aebc4999f44e30 (diff) | |
download | gitlab-ce-6e911a119fdcdb8782babc3c50a44fbc6730bb3f.tar.gz |
CE backport - Chart showing issues created per month
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/09_issues.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/fixtures/development/09_issues.rb b/db/fixtures/development/09_issues.rb index 0b32a461d56..16243b72f9a 100644 --- a/db/fixtures/development/09_issues.rb +++ b/db/fixtures/development/09_issues.rb @@ -8,7 +8,8 @@ Gitlab::Seeder.quiet do description: FFaker::Lorem.sentence, state: ['opened', 'closed'].sample, milestone: project.milestones.sample, - assignees: [project.team.users.sample] + assignees: [project.team.users.sample], + created_at: rand(12).months.ago } Issues::CreateService.new(project, project.team.users.sample, issue_params).execute |