Sha256: 605ede128c663b87e3a24eaa477a526e5930ac773390dda91c2c07edd6b76599
Contents?: true
Size: 304 Bytes
Versions: 61
Compression:
Stored size: 304 Bytes
Contents
class AddUrlToSpudPostCategories < ActiveRecord::Migration def change add_column :spud_post_categories, :parent_id, :integer, :default => 0 add_column :spud_post_categories, :url_name, :string add_index :spud_post_categories, :parent_id add_index :spud_post_categories, :url_name end end
Version data entries
61 entries across 61 versions & 2 rubygems