diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-11 16:01:07 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-08-11 16:01:07 +0300 |
commit | 3cc2c6ef79c8b6f511af32c40a336bc8bfc4c2fe (patch) | |
tree | f63c545815a9288ebfd33bde523de9b166b85644 /db | |
parent | f8eedb4cdac6423a038c80d39d70ad1db17d3da5 (diff) | |
download | gitlab-ce-3cc2c6ef79c8b6f511af32c40a336bc8bfc4c2fe.tar.gz |
Remove outdated seeds
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/development/08_wall.rb | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/db/fixtures/development/08_wall.rb b/db/fixtures/development/08_wall.rb deleted file mode 100644 index c4e304cc217..00000000000 --- a/db/fixtures/development/08_wall.rb +++ /dev/null @@ -1,21 +0,0 @@ -Gitlab::Seeder.quiet do - (1..300).each do |i| - # Random Project - project = Project.all.sample - - # Random user - user = project.users.sample - - next unless user - - user_id = user.id - - Note.seed(:id, [{ - id: i, - project_id: project.id, - author_id: user_id, - note: Faker::Lorem.sentence(6) - }]) - print('.') - end -end |