Sha256: 4e57ac9de33645f0ff5c658b7dd53b9c38586b7dccb9457d0a0f2e7351ba7bed

Contents?: true

Size: 191 Bytes

Versions: 12

Compression:

Stored size: 191 Bytes

Contents

class AddSlugAndChangeUserToAuthor < ActiveRecord::Migration
  def change
    add_column :blogelator_posts, :slug, :string
    rename_column :blogelator_posts, :user_id, :author_id
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
blogelator-0.2.5 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.2.4 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.2.3 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.2.2 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.2.1 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.6 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.5 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.4 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.3 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.2 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.1 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb
blogelator-0.1.0 db/migrate/20140221204230_add_slug_and_change_user_to_author.rb