Sha256: 62fc7cda9848fe0902d941c97f82227b4d30dd4af15c16ba2e90f951de82b8dd
Contents?: true
Size: 779 Bytes
Versions: 24
Compression:
Stored size: 779 Bytes
Contents
class CreateEcomCoreScheduleSettings < ActiveRecord::Migration[6.0] def change create_table :ecom_core_schedule_settings do |t| t.references :equipment, null: false, index: { name: 'ss_on_equipment_indx' }, foreign_key: { to_table: :ecom_core_equipment } t.references :maintenance_type, null: false, index: { name: 'ss_on_mt_indx' }, foreign_key: { to_table: :ecom_core_maintenance_types } t.references :schedule_unit, null: false, index: { name: 'ss_in_su_indx' }, foreign_key: { to_table: :ecom_core_lookups } t.float :value, null: false t.timestamps end end end
Version data entries
24 entries across 24 versions & 1 rubygems