Sha256: 9ae07d1044bd26fba1853f9d74ccac98d8101e4d40252eabd3e5c50bcf3aad61
Contents?: true
Size: 786 Bytes
Versions: 38
Compression:
Stored size: 786 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 :name, null: false 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.boolean :default, default: false t.timestamps end end end
Version data entries
38 entries across 38 versions & 1 rubygems