Sha256: 584c4317e0986e5f0b2d6835d323c861429c6aba39b0d1d70b2ce37f6a058b4f

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

class CreateEcomCoreMeasurementUnits < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_core_measurement_units do |t|
      t.string :name, null: false
      t.string :abbreviation, null: false
      t.string :physical_quantity, null: false
      t.boolean :is_si_unit, null: false, default: false
      t.float :conversion_factor, null: false
      t.string :system_of_measurement, null: false

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ecom_core-1.3.14 db/migrate/20200813165553_create_ecom_core_measurement_units.rb