Sha256: c238b4b54b2ec21f8cebadcfaa8eb5d8fd9fa34379c931465991c51f391090f9

Contents?: true

Size: 280 Bytes

Versions: 7

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

class AddEmailBackToUser < ActiveRecord::Migration[4.2]
  def change
    add_column :users, :email, :string,
                               null: false,
                               default: ''
    add_index :users, :email, unique: true
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise_g5_authenticatable-1.0.3 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb
devise_g5_authenticatable-1.0.2.rc.3 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb
devise_g5_authenticatable-1.0.2.rc.2 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb
devise_g5_authenticatable-1.0.2.rc.1 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb
devise_g5_authenticatable-1.0.1.rc.1 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb
devise_g5_authenticatable-1.0.0 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb
devise_g5_authenticatable-1.0.0.pre.1 spec/dummy/db/migrate/20140103191601_add_email_back_to_user.rb