spec/test_app/db/schema.rb in notifiable-rails-0.19.9 vs spec/test_app/db/schema.rb in notifiable-rails-0.20.0
- old
+ new
@@ -9,11 +9,11 @@
# 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: 20131229104039) do
+ActiveRecord::Schema.define(version: 20131210115652) do
create_table "notifiable_apps", force: true do |t|
t.string "name"
t.text "configuration"
t.datetime "created_at"
@@ -28,10 +28,10 @@
t.integer "app_id"
t.datetime "created_at"
t.datetime "updated_at"
end
- add_index "notifiable_device_tokens", ["token"], name: "index_notifiable_device_tokens_on_token"
+ add_index "notifiable_device_tokens", ["token"], name: "index_notifiable_device_tokens_on_token", unique: true
add_index "notifiable_device_tokens", ["user_id"], name: "index_notifiable_device_tokens_on_user_id"
create_table "notifiable_notifications", force: true do |t|
t.text "message"
t.text "params"