spec/dummy/db/schema.rb in nyauth-0.0.2 vs spec/dummy/db/schema.rb in nyauth-0.0.3
- old
+ new
@@ -9,10 +9,20 @@
# 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: 20150303135922) do
+ActiveRecord::Schema.define(version: 20150317141956) do
+
+ create_table "admins", force: :cascade do |t|
+ t.string "email", null: false
+ t.string "password_digest", null: false
+ t.string "password_salt", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_index "admins", ["email"], name: "index_admins_on_email", unique: true
create_table "users", force: :cascade do |t|
t.string "email", null: false
t.string "password_digest", null: false
t.string "password_salt", null: false