fields = ['id', 'name', 'sequence']
values = [
  ['0', '', '0'],
  ['1', 'Father', '1'],
  ['2', 'Mother', '2'],
  ['3', 'Grandfather', '7'],
  ['4', 'Grandmother', '8'],
  ['5', 'Stepfather', '3'],
  ['6', 'Stepmother', '4'],
  ['7', 'Guardian', '13'],
  ['8', 'Legal Guardian', '14'],
  ['9', 'Not Defined', '22'],
  ['10', 'Relative', '12'],
  ['11', 'Foster Father', '5'],
  ['12', 'Foster Mother', '6'],
  ['13', 'Grandparents', '9'],
  ['14', 'DayCare Provider', '14'],
  ['15', 'Close Friend', '15'],
  ['16', 'Parents', '0'],
  ['17', 'Student', '17'],
  ['18', 'Sibling', '18'],
  ['19', 'Colleague', '19'],
  ['20', 'Helper', '20'],
  ['21', 'Aunt', '10'],
  ['22', 'Uncle', '11'],
  ['23', 'Nanny', '21']
]

Relationship.destroy_all
values.each do |v|
  r = Relationship.new
  fields.each_with_index do |f, index|
    r[f] = v[index]
  end
  r.save
end
