Sha256: f4ad8fd26a745600ef6c1eb2faeb2e68b6bdf89f30b386c037e1a03003ad339d
Contents?: true
Size: 864 Bytes
Versions: 1
Compression:
Stored size: 864 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: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ecom_core-1.3.4 | db/migrate/20191119012030_create_ecom_core_task_templates.rb |