{"head":"1afd2570c597f964c3159dcb25d5d39b1e9a8eb4","size":1,"push_id":45660817,"shas":[["1afd2570c597f964c3159dcb25d5d39b1e9a8eb4","8bdff6172800d8c713e0754730146b5ce711433d@gmail.com","Added the /M folder with M_ personal functions [M01_ in order to automatically clone development db into test db], and added the story table to development.db:\n[rails generate migration add_stories_table]\n[mate db/migrate/20111010190324_add_stories_table.rb]\n---------------------------------------------------------------------------\nclass AddStoriesTable < ActiveRecord::Migration\n  def up\n    create_table :stories do |t|\n      t.string :name\n      t.string :protagonist\n      t.string :author\n      t.timestamps\n      end\n    add_index :stories, :name, :unique => true\n    end\n\n  def down\n    drop_table :stories\n    remove_index :stories, :name\n  end\nend\n---------------------------------------------------------------------------\n[bundle exec rake db:migrate]","Mahesh Casiraghi"]],"ref":"refs/heads/master"}