Sha256: fa996e5346b95a3fa904a828efea299dcda4eaffb0572c6ceccf61906af89a5b
Contents?: true
Size: 588 Bytes
Versions: 17
Compression:
Stored size: 588 Bytes
Contents
class CreateEcomCoreAvailableUnitOfMeasurements < ActiveRecord::Migration[6.0] def change create_table :ecom_core_available_unit_of_measurements do |t| t.references :material_type, null: false, index: { name: 'aum_on_mt_indx' }, foreign_key: { to_table: :ecom_core_resource_types } t.references :measurement_unit, null: false, index: { name: 'aum_on_mu_indx' }, foreign_key: { to_table: :ecom_core_measurement_units } t.timestamps end end end
Version data entries
17 entries across 17 versions & 1 rubygems