Sha256: 125aaf37b184314969b7b48c8db27fb05a0538da4848c3aaf489247512c1e970
Contents?: true
Size: 569 Bytes
Versions: 17
Compression:
Stored size: 569 Bytes
Contents
class CreateEcomCoreMaterialIdentities < ActiveRecord::Migration[6.0] def change create_table :ecom_core_material_identities do |t| t.references :material_type, null: false, index: { name: 'mi_on_mt_indx' }, foreign_key: { to_table: :ecom_core_resource_types } t.references :material_sub_type, null: true, index: { name: 'mi_on_mst_indx' }, foreign_key: { to_table: :ecom_core_material_sub_types } t.timestamps end end end
Version data entries
17 entries across 17 versions & 1 rubygems