gitlabhq/db/fixtures/development/002_project.rb

27 lines
1 KiB
Ruby
Raw Normal View History

Group.seed(:id, [
{ id: 99, name: "GitLab", path: 'gitlab', owner_id: 1 },
{ id: 100, name: "Brightbox", path: 'brightbox', owner_id: 1 },
{ id: 101, name: "KDE", path: 'kde', owner_id: 1 },
])
2011-12-04 21:19:49 +01:00
Project.seed(:id, [
# Global
{ id: 1, name: "Underscore.js", path: "underscore", owner_id: 1 },
2012-11-23 22:10:59 +01:00
{ id: 2, name: "Diaspora", path: "diaspora", owner_id: 1 },
# Brightbox
{ id: 3, namespace_id: 100, name: "Brightbox CLI", path: "brightbox-cli", owner_id: 1 },
{ id: 4, namespace_id: 100, name: "Puppet", path: "puppet", owner_id: 1 },
# KDE
{ id: 5, namespace_id: 101, name: "kdebase", path: "kdebase", owner_id: 1},
{ id: 6, namespace_id: 101, name: "kdelibs", path: "kdelibs", owner_id: 1},
{ id: 7, namespace_id: 101, name: "amarok", path: "amarok", owner_id: 1},
# GitLab
{ id: 8, namespace_id: 99, name: "gitlabhq", path: "gitlabhq", owner_id: 1},
{ id: 9, namespace_id: 99, name: "gitlab-ci", path: "gitlab-ci", owner_id: 1},
{ id: 10, namespace_id: 99, name: "gitlab-recipes", path: "gitlab-recipes", owner_id: 1},
2011-12-04 21:19:49 +01:00
])