Commit 0bd3c63526f1799eb58b25ace288938aff47fdb1
1 parent
1a57fd09
Exists in
master
and in
11 other branches
update db/schema.rb
Showing
1 changed file
with
29 additions
and
1 deletions
Show diff stats
db/schema.rb
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | # |
| 12 | 12 | # It's strongly recommended that you check this file into your version control system. |
| 13 | 13 | |
| 14 | -ActiveRecord::Schema.define(version: 20150722042714) do | |
| 14 | +ActiveRecord::Schema.define(version: 20150921140802) do | |
| 15 | 15 | |
| 16 | 16 | # These are extensions that must be enabled in order to support this database |
| 17 | 17 | enable_extension "plpgsql" |
| ... | ... | @@ -286,6 +286,34 @@ ActiveRecord::Schema.define(version: 20150722042714) do |
| 286 | 286 | t.datetime "updated_at" |
| 287 | 287 | end |
| 288 | 288 | |
| 289 | + create_table "custom_field_values", force: :cascade do |t| | |
| 290 | + t.string "customized_type", default: "", null: false | |
| 291 | + t.integer "customized_id", default: 0, null: false | |
| 292 | + t.boolean "public", default: false, null: false | |
| 293 | + t.integer "custom_field_id", default: 0, null: false | |
| 294 | + t.text "value", default: "" | |
| 295 | + t.datetime "created_at" | |
| 296 | + t.datetime "updated_at" | |
| 297 | + end | |
| 298 | + | |
| 299 | + add_index "custom_field_values", ["customized_type", "customized_id", "custom_field_id"], name: "index_custom_field_values", unique: true, using: :btree | |
| 300 | + | |
| 301 | + create_table "custom_fields", force: :cascade do |t| | |
| 302 | + t.string "name" | |
| 303 | + t.string "format", default: "" | |
| 304 | + t.text "default_value", default: "" | |
| 305 | + t.string "customized_type" | |
| 306 | + t.text "extras", default: "" | |
| 307 | + t.boolean "active", default: false | |
| 308 | + t.boolean "required", default: false | |
| 309 | + t.boolean "signup", default: false | |
| 310 | + t.integer "environment_id" | |
| 311 | + t.datetime "created_at" | |
| 312 | + t.datetime "updated_at" | |
| 313 | + end | |
| 314 | + | |
| 315 | + add_index "custom_fields", ["customized_type", "name", "environment_id"], name: "index_custom_field", unique: true, using: :btree | |
| 316 | + | |
| 289 | 317 | create_table "delayed_jobs", force: :cascade do |t| |
| 290 | 318 | t.integer "priority", default: 0 |
| 291 | 319 | t.integer "attempts", default: 0 | ... | ... |