Start development Key seed id from 1.
This commit is contained in:
parent
ae1a314824
commit
6672d6492f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ Gitlab::Seeder.quiet do
|
||||||
User.first(30).each_with_index do |user, i|
|
User.first(30).each_with_index do |user, i|
|
||||||
Key.seed(:id, [
|
Key.seed(:id, [
|
||||||
{
|
{
|
||||||
id: i,
|
id: i + 1,
|
||||||
title: "Sample key #{i}",
|
title: "Sample key #{i}",
|
||||||
key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt#{i + 100}6k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
|
key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt#{i + 100}6k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=",
|
||||||
user_id: user.id,
|
user_id: user.id,
|
||||||
|
|
Loading…
Reference in a new issue