Sha256: df292d6669978a2aa43f3a082f0a1736d95a73a3e1feffa7033ad68687d7423b
Contents?: true
Size: 600 Bytes
Versions: 39
Compression:
Stored size: 600 Bytes
Contents
class CreateEcomCoreEquipmentRequests < ActiveRecord::Migration[6.0] def change create_table :ecom_core_equipment_requests do |t| t.references :requested_by, null: false, index: { name: 'er_on_rb_indx' }, foreign_key: { to_table: :ecom_core_users } t.string :remark t.string :status, null: false t.references :project, null: false, index: { name: 'er_on_project_indx' }, foreign_key: { to_table: :ecom_core_projects } t.timestamps end end end
Version data entries
39 entries across 39 versions & 1 rubygems