chore: Add ee helper, custom_attributes to account (#5058)

This commit is contained in:
Pranav Raj S
2022-07-19 02:03:06 +07:00
committed by GitHub
parent d8140db2e8
commit 1dc7ce526e
14 changed files with 56 additions and 23 deletions

View File

@@ -0,0 +1,5 @@
class AddCustomAttributesToAccount < ActiveRecord::Migration[6.1]
def change
add_column :accounts, :custom_attributes, :jsonb, default: {}
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2022_07_06_085458) do
ActiveRecord::Schema.define(version: 2022_07_18_123938) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_stat_statements"
@@ -53,6 +53,7 @@ ActiveRecord::Schema.define(version: 2022_07_06_085458) do
t.integer "feature_flags", default: 0, null: false
t.integer "auto_resolve_duration"
t.jsonb "limits", default: {}
t.jsonb "custom_attributes", default: {}
end
create_table "action_mailbox_inbound_emails", force: :cascade do |t|