Sha256: 6ce6e8c19509d239c12b8452f2e14eba46191ca12b9d7fdb10a329b52a486b75
Contents?: true
Size: 400 Bytes
Versions: 7
Compression:
Stored size: 400 Bytes
Contents
# This migration comes from spree (originally 20100506185838) class AddDescriptionToTaxons < ActiveRecord::Migration def up # skip this migration if the attribute already exists because of advanced taxon extension return if column_exists?(:taxons, :description) add_column :taxons, :description, :text end def down remove_column :taxons, :description end end
Version data entries
7 entries across 7 versions & 2 rubygems