Sha256: 6881c9f567fd6923023eb4deca86e5c30195e7874778965ecd8628b7c6c4ed74

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 Bytes

Contents

class AddSortToCustomizations < ActiveRecord::Migration
  def up
    add_column :tb_commerce_customizations, :sort, :integer, :default => 0
  end

  def down
    remove_column :tb_commerce_customizations, :sort
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 db/migrate/20150806020336_add_sort_to_customizations.rb
tb_commerce-0.0.3 db/migrate/20150806020336_add_sort_to_customizations.rb
tb_commerce-0.0.2 db/migrate/20150806020336_add_sort_to_customizations.rb