feat(companies): add company detail page (#14054)

This commit is contained in:
salmonumbrella
2026-05-06 08:20:27 -07:00
committed by GitHub
parent 42bba748cf
commit fe44b07147
49 changed files with 2462 additions and 194 deletions

View File

@@ -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

View File

@@ -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"