Sha256: 1cf45712b040374f41c3bd6ce3518e19088582750964374e562e6bf7beeed4d3
Contents?: true
Size: 872 Bytes
Versions: 3
Compression:
Stored size: 872 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.references :takeoff_calculator, null: true, index: { name: 'tt_on_tc_indx' }, foreign_key: { to_table: :ecom_core_takeoff_calculators } t.string :ancestry, index: true t.boolean :has_takeoff_fields, null:false, default: false t.jsonb :fields t.jsonb :takeoff_fields t.jsonb :task_steps t.jsonb :milestones t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems