spec/dummy/rails-4.1.0/db/schema.rb in notify_user-0.1.4 vs spec/dummy/rails-4.1.0/db/schema.rb in notify_user-0.3.1

- old
+ new

@@ -9,31 +9,42 @@ # 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 that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20141102231434013013847000) do +ActiveRecord::Schema.define(version: 20150907004709) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "notify_user_notifications", force: true do |t| t.string "type" t.integer "target_id" t.string "target_type" t.json "params" t.string "state" + t.datetime "sent_time" + t.integer "group_id" + t.integer "parent_id" t.datetime "created_at" t.datetime "updated_at" end + add_index "notify_user_notifications", ["group_id"], name: "index_notify_user_notifications_on_group_id", using: :btree + add_index "notify_user_notifications", ["parent_id"], name: "index_notify_user_notifications_on_parent_id", using: :btree + add_index "notify_user_notifications", ["target_id"], name: "index_notify_user_notifications_on_target_id", using: :btree + create_table "notify_user_unsubscribes", force: true do |t| t.string "type" t.integer "target_id" t.string "target_type" + t.integer "group_id" t.datetime "created_at" t.datetime "updated_at" end + + add_index "notify_user_unsubscribes", ["group_id"], name: "index_notify_user_unsubscribes_on_group_id", using: :btree + add_index "notify_user_unsubscribes", ["target_id"], name: "index_notify_user_unsubscribes_on_target_id", using: :btree create_table "notify_user_user_hashes", force: true do |t| t.string "type" t.integer "target_id" t.string "target_type"