Sha256: bce0133aec383c8a08dad6356ac49e33aad9be0c06ac1760e3c394edd8317b79

Contents?: true

Size: 231 Bytes

Versions: 5

Compression:

Stored size: 231 Bytes

Contents

class CreateEcomModelCurrencies < ActiveRecord::Migration[6.0]
  def change
    create_table :ecom_model_currencies do |t|
      t.string :code, unique: true
      t.string :name, unique: true

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 db/migrate/20191201145816_create_ecom_model_currencies.rb
ecom_model-2.0.3 db/migrate/20191201145816_create_ecom_model_currencies.rb
ecom_model-2.0.2 db/migrate/20191201145816_create_ecom_model_currencies.rb
ecom_model-2.0.1 db/migrate/20191201145816_create_ecom_model_currencies.rb
ecom_model-2.0.0 db/migrate/20191201145816_create_ecom_model_currencies.rb