chore: Add the support for list and checkbox in custom attribute model (#3400)

ref: #3399
This commit is contained in:
Muhsin Keloth
2021-11-16 23:25:19 +05:30
committed by GitHub
parent e5a80195ab
commit 9ea42ebff2
3 changed files with 10 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_09_29_150415) do
ActiveRecord::Schema.define(version: 2021_11_16_131740) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@@ -355,6 +355,7 @@ ActiveRecord::Schema.define(version: 2021_09_29_150415) do
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.text "attribute_description"
t.jsonb "values", default: []
t.index ["account_id"], name: "index_custom_attribute_definitions_on_account_id"
t.index ["attribute_key", "attribute_model"], name: "attribute_key_model_index", unique: true
end