Sha256: 48dabd63981a01b3976bfe1ecf0e1b068af07c60abb5ad3779ac0d2020c6caf0
Contents?: true
Size: 645 Bytes
Versions: 40
Compression:
Stored size: 645 Bytes
Contents
class CreateEcomCoreEquipmentComponents < ActiveRecord::Migration[6.0] def change create_table :ecom_core_equipment_components do |t| t.string :serial_number t.string :name, null: false t.references :component_type, null: false, index: { name: 'ei_on_ct_indx' }, foreign_key: { to_table: :ecom_core_lookups } t.references :equipment_item, null: false, index: { name: 'ei_on_ec_indx' }, foreign_key: { to_table: :ecom_core_equipment_items } t.string :remark t.timestamps end end end
Version data entries
40 entries across 40 versions & 1 rubygems