Sha256: 76e66d9e60b709df11f6b0abee87b19f67a0f28b5091d30978eaae9ab00f122c
Contents?: true
Size: 485 Bytes
Versions: 61
Compression:
Stored size: 485 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, index: { name: 'ttt_on_tt_indx' } t.string :ancestry, index: true t.timestamps end add_foreign_key :ecom_core_task_templates, :ecom_core_task_template_types, column: :task_template_type_id end end
Version data entries
61 entries across 61 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.0.0 | db/migrate/20191119012030_create_ecom_core_task_templates.rb |