spec/dummy/db/schema.rb in spud_inquiries-1.0.0.rc1.1 vs spec/dummy/db/schema.rb in spud_inquiries-1.0.0.rc2

- old
+ new

@@ -9,25 +9,25 @@ # 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: 20131204163221) do +ActiveRecord::Schema.define(version: 20140422015208) do create_table "spud_admin_permissions", force: true do |t| t.integer "user_id" t.string "name" t.boolean "access" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" t.string "scope" end create_table "spud_inquiries", force: true do |t| t.string "email" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" t.integer "spud_inquiry_form_id" t.text "recipients" t.string "subject" t.boolean "marked_as_read", default: false end @@ -37,12 +37,12 @@ create_table "spud_inquiry_fields", force: true do |t| t.string "name" t.text "value" t.integer "spud_inquiry_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" t.string "field_name" end add_index "spud_inquiry_fields", ["spud_inquiry_id"], name: "inquiry_field_parent_id", using: :btree @@ -50,26 +50,28 @@ t.integer "spud_inquiry_form_id" t.string "field_type" t.string "name" t.text "options" t.string "default_value" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" t.integer "field_order" t.boolean "required" t.string "placeholder" t.string "field_name" t.string "class_name" + t.string "validation_rule" + t.string "validation_error_message" end add_index "spud_inquiry_form_fields", ["field_order"], name: "form_field_order", using: :btree create_table "spud_inquiry_forms", force: true do |t| t.string "name" t.text "content" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" t.text "recipients" t.string "subject" t.string "url_name" t.text "thank_you_content" t.string "submit_title" @@ -79,12 +81,12 @@ create_table "spud_user_settings", force: true do |t| t.integer "spud_user_id" t.string "key" t.string "value" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" end create_table "spud_users", force: true do |t| t.string "first_name" t.string "last_name" @@ -101,11 +103,11 @@ t.datetime "last_request_at" t.datetime "current_login_at" t.datetime "last_login_at" t.string "current_login_ip" t.string "last_login_ip" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at" + t.datetime "updated_at" t.string "time_zone" end add_index "spud_users", ["email"], name: "index_spud_users_on_email", using: :btree add_index "spud_users", ["login"], name: "index_spud_users_on_login", using: :btree