Sha256: 676e2281655029f563acfa71bcc2c610b47b77be2239ef3facf0f0c05685b094

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

class AddPublicToGeorgiaPages < ActiveRecord::Migration

  def change
    add_column :georgia_pages, :public, :boolean, default: false
    add_index :georgia_pages, :public
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
georgia-0.7.1 lib/generators/georgia/upgrade/templates/add_public_to_georgia_pages.rb
georgia-0.7.0 lib/generators/georgia/upgrade/templates/add_public_to_georgia_pages.rb