spec/dummy/db/schema.rb in spud_inquiries-0.9.1 vs spec/dummy/db/schema.rb in spud_inquiries-0.9.2
- 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 => 20120610131541) do
+ActiveRecord::Schema.define(:version => 20130627121030) do
create_table "spud_admin_permissions", :force => true do |t|
t.integer "user_id"
t.string "name"
t.boolean "access"
@@ -30,22 +30,22 @@
t.text "recipients"
t.string "subject"
t.boolean "marked_as_read", :default => false
end
- add_index "spud_inquiries", ["marked_as_read"], :name => "index_spud_inquiries_on_marked_as_read"
- add_index "spud_inquiries", ["spud_inquiry_form_id"], :name => "index_spud_inquiries_on_spud_inquiry_form_id"
+ add_index "spud_inquiries", ["marked_as_read"], :name => "idx_inquiry_read"
+ add_index "spud_inquiries", ["spud_inquiry_form_id"], :name => "idx_inquiry_form"
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
end
- add_index "spud_inquiry_fields", ["spud_inquiry_id"], :name => "index_spud_inquiry_fields_on_spud_inquiry_id"
+ add_index "spud_inquiry_fields", ["spud_inquiry_id"], :name => "inquiry_field_parent_id"
create_table "spud_inquiry_form_fields", :force => true do |t|
t.integer "spud_inquiry_form_id"
t.string "field_type"
t.string "name"
@@ -53,24 +53,26 @@
t.string "default_value"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.integer "field_order"
t.boolean "required"
+ t.string "placeholder"
end
- add_index "spud_inquiry_form_fields", ["field_order"], :name => "index_spud_inquiry_form_fields_on_field_order"
+ add_index "spud_inquiry_form_fields", ["field_order"], :name => "form_field_order"
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", :null => false
+ t.datetime "updated_at", :null => false
t.text "recipients"
t.string "subject"
t.string "url_name"
+ t.text "thank_you_content"
end
- add_index "spud_inquiry_forms", ["url_name"], :name => "index_spud_inquiry_forms_on_url_name"
+ add_index "spud_inquiry_forms", ["url_name"], :name => "idx_form_url_name"
create_table "spud_user_settings", :force => true do |t|
t.integer "spud_user_id"
t.string "key"
t.string "value"