test/dummy/db/schema.rb in goldencobra-1.0.9.3 vs test/dummy/db/schema.rb in goldencobra-1.1.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 to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20130104145454) do +ActiveRecord::Schema.define(:version => 20130205084748) do create_table "active_admin_comments", :force => true do |t| t.integer "resource_id", :null => false t.string "resource_type", :null => false t.integer "author_id" @@ -136,13 +136,16 @@ t.string "street" t.string "city" t.string "zip" t.string "region" t.string "country" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false t.string "title" + t.string "locateable_type" + t.integer "locateable_id" + t.string "street_number" end create_table "goldencobra_menues", :force => true do |t| t.string "title" t.string "target" @@ -171,26 +174,28 @@ create_table "goldencobra_permissions", :force => true do |t| t.string "action" t.string "subject_class" t.string "subject_id" t.integer "role_id" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + t.integer "sorter_id", :default => 0 end create_table "goldencobra_roles", :force => true do |t| t.string "name" t.text "description" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end create_table "goldencobra_roles_users", :id => false, :force => true do |t| - t.integer "user_id" + t.integer "operator_id" t.integer "role_id" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + t.string "operator_type", :default => "User" end create_table "goldencobra_settings", :force => true do |t| t.string "title" t.string "value" @@ -264,12 +269,12 @@ create_table "tags", :force => true do |t| t.string "name" end create_table "users", :force => true do |t| - t.string "email", :default => "", :null => false - t.string "encrypted_password", :default => "", :null => false + t.string "email", :default => "", :null => false + t.string "encrypted_password", :default => "", :null => false t.string "reset_password_token" t.datetime "reset_password_sent_at" t.datetime "remember_created_at" t.integer "sign_in_count", :default => 0 t.datetime "current_sign_in_at" @@ -283,12 +288,12 @@ t.string "unconfirmed_email" t.integer "failed_attempts", :default => 0 t.string "unlock_token" t.datetime "locked_at" t.string "authentication_token" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false t.boolean "gender" t.string "title" t.string "firstname" t.string "lastname" t.string "function" @@ -297,10 +302,11 @@ t.string "facebook" t.string "twitter" t.string "linkedin" t.string "xing" t.string "googleplus" + t.boolean "enable_expert_mode", :default => false end add_index "users", ["authentication_token"], :name => "index_users_on_authentication_token", :unique => true add_index "users", ["confirmation_token"], :name => "index_users_on_confirmation_token", :unique => true add_index "users", ["email"], :name => "index_users_on_email", :unique => true @@ -344,9 +350,11 @@ t.integer "failed_attempts" t.string "unlock_token" t.datetime "locked_at" t.string "authentication_token" t.string "username" + t.string "loginable_type" + t.integer "loginable_id" end add_index "visitors", ["email"], :name => "index_visitors_on_email", :unique => true add_index "visitors", ["reset_password_token"], :name => "index_visitors_on_reset_password_token", :unique => true