Sha256: e7772abb8e44e22fbf0a563918eb5392ea54260369f76a4d171d2c33f31cdf21

Contents?: true

Size: 171 Bytes

Versions: 2

Compression:

Stored size: 171 Bytes

Contents

class AddLocalesToPages < ActiveRecord::Migration
  def self.up
    add_column :pages, :locales, :text
  end

  def self.down
    remove_column :pages, :locales
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puffer_pages-0.5.1 db/migrate/20130118064524_add_locales_to_pages.rb
puffer_pages-0.5.0 db/migrate/20130118064524_add_locales_to_pages.rb