Sha256: 54d30391f9d4dace54967727d8c528d5df0d86237be2d7b2052895d887cedbd7

Contents?: true

Size: 609 Bytes

Versions: 25

Compression:

Stored size: 609 Bytes

Contents

class DeviseInvitable < ActiveRecord::Migration[7.2]
  def change
      add_column :users, :invitation_token, :string
      add_column :users, :invitation_created_at, :datetime
      add_column :users, :invitation_sent_at, :datetime
      add_column :users, :invitation_accepted_at, :datetime
      add_column :users, :invitation_limit, :integer
      add_column :users, :invited_by_id, :integer
      add_column :users, :invited_by_type, :string
      add_index :users, :invitation_token, unique: true
      change_column_null :users, :nombre, true
      change_column_null :users, :apellido, true
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
pg_rails-7.6.21.pre.5 pg_engine/db/migrate/20241023203849_devise_invitable.rb
pg_rails-7.6.21.pre.4 pg_engine/db/migrate/20241023203849_devise_invitable.rb
pg_rails-7.6.21.pre.3 pg_engine/db/migrate/20241023203849_devise_invitable.rb
pg_rails-7.6.21.pre.2 pg_engine/db/migrate/20241023203849_devise_invitable.rb
pg_rails-7.6.21.pre.1 pg_engine/db/migrate/20241023203849_devise_invitable.rb