Sha256: a28ddb1b14c2744a4f752a5fb03b903a1e15621da6915924e245a2a097375d31

Contents?: true

Size: 199 Bytes

Versions: 3

Compression:

Stored size: 199 Bytes

Contents

class AddFormolProfileToUser < ActiveRecord::Migration
  def change
    change_table :<%= user_class.constantize.table_name %> do |t|
      t.string :formol_profile,   :limit => 16
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 lib/formol/generators/install/templates/migrations/add_formol_profile_to_users.rb.erb
formol-0.0.5 lib/formol/generators/install/templates/migrations/add_formol_profile_to_users.rb.erb
formol-0.0.4 lib/formol/generators/install/templates/migrations/add_formol_profile_to_users.rb.erb