Sha256: 40db81c09b5bd27c6d325119af0e50118addf65c03dd711a9e36cac5023e4dce
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
class DeviseAcquirableAddTo<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %> def self.up add_column :<%= table_name %>, :referring_url, :text add_column :<%= table_name %>, :landing_url, :text end def self.down remove_column :<%= table_name %>, :referring_url remove_column :<%= table_name %>, :landing_url end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise-acquirable-0.1.1 | lib/generators/devise/templates/migration.rb |