Sha256: 1a5a4eccb19b245f82ee498f5653907589ba9adf416dbcc13bea58d7375bc240
Contents?: true
Size: 877 Bytes
Versions: 2
Compression:
Stored size: 877 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.boolean :has_takeoff_fields, null:false, default: false t.jsonb :takeoff_fields, null: false, default: {} t.integer :percentage_contribution t.integer :task_sequence t.boolean :has_inspection, null: false, default: false t.boolean :discipline, null: false, default: false t.jsonb :task_completion_detail, null: false, default: {} t.timestamps end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.3.3 | db/migrate/20191119012030_create_ecom_core_task_templates.rb |
ecom_core-1.2.35 | db/migrate/20191119012030_create_ecom_core_task_templates.rb |