Sha256: e5714482039601233a55fdb88f03f56529a84ec3514b7ba01798a0a34ef01700

Contents?: true

Size: 199 Bytes

Versions: 14

Compression:

Stored size: 199 Bytes

Contents

class AddSlugToAlmanacPosts < ActiveRecord::Migration
  def up
    change_table :almanac_posts do |t|
      t.string :slug
    end
  end

  def down
    remove_column :almanac_posts, :slug
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
almanac-0.9.2 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.9.1 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.9.0 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.8.0 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.7.4 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.7.3 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.7.2 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.7.1 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.6.1 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.6.0 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.5.3 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.5.2 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.5.1 db/migrate/20121116191821_add_slug_to_almanac_posts.rb
almanac-0.5.0 db/migrate/20121116191821_add_slug_to_almanac_posts.rb