Sha256: 7d7c8e2ddcd15575cd0f067c2bd637ac4f1fb11d6501e6d49acc9dd3a1eeccfb

Contents?: true

Size: 538 Bytes

Versions: 3

Compression:

Stored size: 538 Bytes

Contents

class CreateEcomCoreTaskSteps < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_task_steps do |t|
      t.references :task,
                   null: false,
                   index: { name: 'ts_on_task_indx' },
                   foreign_key: { to_table: :ecom_core_tasks }
      t.string :name, null: false
      t.date :start_date
      t.date :end_date
      t.float :total_contribution_percentage_to_task, null: false
      t.boolean :completed, null: false, default: false

      t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecom_core-1.2.34 db/migrate/20200820123719_create_ecom_core_task_steps.rb
ecom_core-1.2.33 db/migrate/20200820123719_create_ecom_core_task_steps.rb
ecom_core-1.2.32 db/migrate/20200820123719_create_ecom_core_task_steps.rb