Sha256: 7c6e952ebd382c465680a6921450ac917a441cadb72363551d05d7f8baf2b675

Contents?: true

Size: 376 Bytes

Versions: 106

Compression:

Stored size: 376 Bytes

Contents

class CreateEcomCoreTaskTemplateTypes < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_task_template_types do |t|
      t.string :code, null: false
      t.string :name, null: false

      t.timestamps
    end

    add_index :ecom_core_task_template_types, :code, unique: true
    add_index :ecom_core_task_template_types, :name, unique: true
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
ecom_core-1.0.5 db/migrate/20191119010518_create_ecom_core_task_template_types.rb
ecom_core-1.0.4 db/migrate/20191119010518_create_ecom_core_task_template_types.rb
ecom_core-1.0.3 db/migrate/20191119010518_create_ecom_core_task_template_types.rb
ecom_core-1.0.2 db/migrate/20191119010518_create_ecom_core_task_template_types.rb
ecom_core-1.0.1 db/migrate/20191119010518_create_ecom_core_task_template_types.rb
ecom_core-1.0.0 db/migrate/20191119010518_create_ecom_core_task_template_types.rb