test/rails_root/db/schema.rb in muck-activities-0.1.16 vs test/rails_root/db/schema.rb in muck-activities-0.1.17
- old
+ new
@@ -7,11 +7,11 @@
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20090613173314) do
+ActiveRecord::Schema.define(:version => 20090803185323) do
create_table "activities", :force => true do |t|
t.integer "item_id"
t.string "item_type"
t.string "template"
@@ -21,10 +21,11 @@
t.string "title"
t.boolean "is_status_update", :default => false
t.boolean "is_public", :default => true
t.datetime "created_at"
t.datetime "updated_at"
+ t.integer "comment_count", :default => 0
end
add_index "activities", ["item_id", "item_type"], :name => "index_activities_on_item_id_and_item_type"
create_table "activity_feeds", :force => true do |t|
@@ -94,9 +95,20 @@
create_table "roles", :force => true do |t|
t.string "rolename"
t.datetime "created_at"
t.datetime "updated_at"
end
+
+ create_table "shares", :force => true do |t|
+ t.string "uri", :limit => 2083, :default => "", :null => false
+ t.string "title"
+ t.text "message"
+ t.integer "shared_by_id", :null => false
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "shares", ["shared_by_id"], :name => "index_shares_on_shared_by_id"
create_table "states", :force => true do |t|
t.string "name", :limit => 128, :default => "", :null => false
t.string "abbreviation", :limit => 3, :default => "", :null => false
t.integer "country_id", :limit => 8, :null => false