Sha256: 39b55fdd0bf0850a91654cfbcea8a6a55c851c547e4e405534959da681e578c5

Contents?: true

Size: 286 Bytes

Versions: 17

Compression:

Stored size: 286 Bytes

Contents

class CreateShipmentCarriers < ActiveRecord::Migration
  def change
    create_table :shipment_carriers do |t|
      t.string :name,      null: false
      t.string :permalink, null: false

      t.timestamps
    end
    add_index :shipment_carriers, :permalink, unique: true
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.10 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.9 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.8 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.7 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.5 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.4.beta1 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.4 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.3 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.2 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.2.beta1 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1.rc6 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1.rc5 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1.rc4 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1.rc3 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1.rc2 db/migrate/20120105234553_create_shipment_carriers.rb
nimbleshop_core-0.0.1.rc1 db/migrate/20120105234553_create_shipment_carriers.rb