feat(companies): add company detail page (#14054)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddAdditionalAttributesToCompanies < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
change_table :companies, bulk: true do |t|
|
||||
t.jsonb :additional_attributes, default: {}
|
||||
t.jsonb :custom_attributes, default: {}
|
||||
t.datetime :last_activity_at, precision: nil
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -612,6 +612,9 @@ ActiveRecord::Schema[7.1].define(version: 2026_04_30_114500) do
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.integer "contacts_count"
|
||||
t.jsonb "additional_attributes", default: {}
|
||||
t.jsonb "custom_attributes", default: {}
|
||||
t.datetime "last_activity_at", precision: nil
|
||||
t.index ["account_id", "domain"], name: "index_companies_on_account_and_domain", unique: true, where: "(domain IS NOT NULL)"
|
||||
t.index ["account_id"], name: "index_companies_on_account_id"
|
||||
t.index ["name", "account_id"], name: "index_companies_on_name_and_account_id"
|
||||
|
||||
Reference in New Issue
Block a user