steve970 / great_migration_story

game about learning RoR migrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  • Create a Location table with a name attribute that is a string
  • Create three locations in the database
  • Change the name attribute on the pilgrims table to trail_name
  • Update everyone with new trail_names
  • Create a new pilgrim
  • Set the second Pilgrim’s trinket to nil and the fourth Pilgrim’s trinket to something not nil
  • Rename the trinket attribute to burdens
  • Set all pilgrims burdens to nil by updating the .drop_burdens method. Run the method from the console.
  • Drop the column burdens
  • Drop the column ego on pilgrims
  • Drop the entire pilgrims table

About

game about learning RoR migrations


Languages

Language:Ruby 96.6%Language:CSS 1.7%Language:JavaScript 1.7%