spec/dummy/db/schema.rb in effective_roles-1.0.2 vs spec/dummy/db/schema.rb in effective_roles-1.1.0
- old
+ new
@@ -9,8 +9,38 @@
# 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 => 0) do
+ActiveRecord::Schema.define(:version => 1) do
+
+ create_table "users", force: true do |t|
+ t.string "encrypted_password"
+ t.string "reset_password_token"
+ t.datetime "reset_password_sent_at"
+ t.datetime "remember_created_at"
+ t.datetime "confirmation_sent_at"
+ t.datetime "confirmed_at"
+ t.string "confirmation_token"
+ t.string "unconfirmed_email"
+ t.integer "sign_in_count", default: 0
+ t.datetime "current_sign_in_at"
+ t.datetime "last_sign_in_at"
+ t.string "current_sign_in_ip"
+ t.string "last_sign_in_ip"
+ t.string "email"
+ t.string "first_name"
+ t.string "last_name"
+ t.integer "roles_mask", default: 0
+ t.boolean "archived", default: false
+ t.datetime "updated_at"
+ t.datetime "created_at"
+ end
+
+ create_table "posts", force: true do |t|
+ t.string "title"
+ t.integer "roles_mask", default: 0
+ t.datetime "updated_at"
+ t.datetime "created_at"
+ end
end