Sha256: ce0fa37dacd41b3653b6957ab8b4ba63425f5c2341540ee7783efafc0d29ce6c

Contents?: true

Size: 472 Bytes

Versions: 17

Compression:

Stored size: 472 Bytes

Contents

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

      t.timestamps
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecom_core-1.3.14 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.13 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.12 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.11 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.10 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.9 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.8 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.7 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.6 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.5 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.4 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.3 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.2 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.1 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.3.0 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.2.36 db/migrate/20191119021405_create_ecom_core_project_templates.rb
ecom_core-1.2.35 db/migrate/20191119021405_create_ecom_core_project_templates.rb