Sha256: 73de4c328937781d7433d5f347f835b901ca85769f37749266c3b678b8fd2fe8

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 Bytes

Contents

class CreateEcomCoreTaskStepDependencies < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_task_step_dependencies do |t|
      t.references :dependent_task_step,
                   null: false,
                   index: { name: 'tsd_on_dts_indx' },
                   foreign_key: { to_table: :ecom_core_task_steps }

      t.references :dependee_task_step,
                   null: false,
                   index: { name: 'tsd_on_dependee_ts_indx' },
                   foreign_key: { to_table: :ecom_core_task_steps }
      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecom_core-1.2.34 db/migrate/20200821130934_create_ecom_core_task_step_dependencies.rb
ecom_core-1.2.33 db/migrate/20200821130934_create_ecom_core_task_step_dependencies.rb
ecom_core-1.2.32 db/migrate/20200821130934_create_ecom_core_task_step_dependencies.rb