Sha256: 7531bba146132ba2b0c759d6f684132d2ac29f2d118a0774e5c192c4b51504eb

Contents?: true

Size: 281 Bytes

Versions: 13

Compression:

Stored size: 281 Bytes

Contents

class AddTokensToUsers < ActiveRecord::Migration[5.2]
  def change
    ## Required
    add_column :users, :provider, :string, null: false, default: "email"
    add_column :users, :uid, :string, null: false, default: ""

    ## Tokens
    add_column :users, :tokens, :text
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
activity_notification-2.3.2 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.3.1 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.3.0 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.2.4 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.2.3 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.2.2 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.2.1 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.2.0 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.1.4 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.1.3 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.1.2 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.1.1 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
activity_notification-2.1.0 spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb