Sha256: f1f2f7583ee6b764d85ec001a0bf468c26d6aceff244ce99b94b52ce3f92dbf9

Contents?: true

Size: 473 Bytes

Versions: 8

Compression:

Stored size: 473 Bytes

Contents

class AddDeviseGuestsTo<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %>
  def self.up
    change_table(:<%= table_name %>) do |t|
<%= migration_data -%>
    end

  end

  def self.down
    # By default, we don't want to make any assumption about how to roll back a migration when your
    # model already existed. Please edit below which fields you would like to remove in this migration.
    raise ActiveRecord::IrreversibleMigration
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise-guests-0.8.3/lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.8.3 lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.8.2 lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.8.1 lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.8.0 lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.7.0 lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.6.1 lib/generators/active_record/templates/migration_existing.rb
devise-guests-0.6.0 lib/generators/active_record/templates/migration_existing.rb