Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-11 17:01:07 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-08-11 17:01:07 +0400
commit3cc2c6ef79c8b6f511af32c40a336bc8bfc4c2fe (patch)
treef63c545815a9288ebfd33bde523de9b166b85644 /db
parentf8eedb4cdac6423a038c80d39d70ad1db17d3da5 (diff)
Remove outdated seeds
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db')
-rw-r--r--db/fixtures/development/08_wall.rb21
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