Skip to content

Instantly share code, notes, and snippets.

@codeschool-courses
Created August 30, 2011 19:36
Show Gist options
  • Save codeschool-courses/1181804 to your computer and use it in GitHub Desktop.
Save codeschool-courses/1181804 to your computer and use it in GitHub Desktop.
Rails for Zombies 2 - Challenge 2-7
ActiveRecord::Schema.define(:version => 20110814152905) do
create_table "categories" do |t|
t.string "name"
end
create_table "categorizations" do |t|
t.integer "tweet_id"
t.integer "category_id"
end
create_table "tweets" do |t|
t.string "message"
t.string "location", :limit => 30
t.boolean "show_location", :default => false
t.integer "zombie_id"
t.timestamps
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment