Sha256: 5c21183c0516b1307a07b1b9cb20334c1f6c3236cac964ad1c9635309126aa23

Contents?: true

Size: 503 Bytes

Versions: 9

Compression:

Stored size: 503 Bytes

Contents

class CreateEcomCoreTaskTemplates < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_task_templates do |t|
      t.string :code, null: false
      t.string :name, null: false
      t.string :description
      t.references :task_template_type,
                   null: false,
                   index: { name: 'tt_on_ttt_indx' },
                   foreign_key: { to_table: :ecom_core_task_template_types }
      t.string :ancestry, index: true

      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ecom_core-1.2.15 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.14 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.13 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.12 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.11 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.10 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.9 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.7 db/migrate/20191119012030_create_ecom_core_task_templates.rb
ecom_core-1.2.6 db/migrate/20191119012030_create_ecom_core_task_templates.rb