Sha256: ec02df28af124bba94d7796d7a7d55691ccc7dda530264e2c5c6677061609eb1

Contents?: true

Size: 369 Bytes

Versions: 8

Compression:

Stored size: 369 Bytes

Contents

# This migration comes from tb_blog (originally 20120127144942)
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

8 entries across 8 versions & 1 rubygems

Version Path
tb_blog-1.4.4 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.4.3 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.4.2 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.3.5 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.4.1 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.4.0 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.3.4 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb
tb_blog-1.4.beta1 spec/dummy/db/migrate/20161020155440_add_url_to_spud_post_categories.tb_blog.rb