Sha256: 28a0837039db5becd48a4312faf221e47eed619224932a2116c304755bde4bf0

Contents?: true

Size: 149 Bytes

Versions: 62

Compression:

Stored size: 149 Bytes

Contents

class AddAuthorToPages < ActiveRecord::Migration
  def change
    add_column :pages, :author_id, :integer
    add_index :pages, :author_id
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
tkh_content-0.10.10 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.9 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.8 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.7 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.6 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.5.1 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.5 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.4 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.3 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.2 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10.1 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.10 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.20 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.19 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.18 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.17 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.16 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.15 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.14 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb
tkh_content-0.9.13 lib/generators/tkh_content/create_or_update_migrations/templates/add_author_to_pages.rb