Sha256: fa51533bbc1087573fc01748a62b9a37f90c70d46b189de5bddb8114ba81f85b
Contents?: true
Size: 834 Bytes
Versions: 35
Compression:
Stored size: 834 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 :telephone t.string :email t.string :address_type, null: false t.boolean :default, default: false t.timestamps end end end
Version data entries
35 entries across 35 versions & 1 rubygems