Sha256: e1fc37005bc5a80a8b75e256e5953876d72ca26de6e0cf58eb1f5d643f180aaf

Contents?: true

Size: 263 Bytes

Versions: 14

Compression:

Stored size: 263 Bytes

Contents

# This migration comes from almanac (originally 20121116191821)
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 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.9.1 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.9.0 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.8.0 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.7.4 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.7.3 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.7.2 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.7.1 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.6.1 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.6.0 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.5.3 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.5.2 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.5.1 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb
almanac-0.5.0 spec/dummy/db/migrate/20121116192008_add_slug_to_almanac_posts.almanac.rb