Sha256: 3d0efddad171d609ba080fcd16ce3f8516f6c5c965a10e2649f755eca0ab6291
Contents?: true
Size: 711 Bytes
Versions: 16
Compression:
Stored size: 711 Bytes
Contents
class CreateComeeCoreClientAddresses < ActiveRecord::Migration[7.1] def change create_table :comee_core_client_addresses do |t| t.references :client, null: false, index: {name: "cl_on_ccca_indx"}, foreign_key: {to_table: :comee_core_clients} t.string :address_line1, null: false t.string :street t.string :city t.string :state t.references :country, null: false, index: {name: "country_on_ccca_indx"}, foreign_key: {to_table: :comee_core_lookups} t.string :postal_code t.string :address_type, null: false t.timestamps end end end
Version data entries
16 entries across 16 versions & 1 rubygems