Sha256: 56f5e922e40160a2fcd1bf64f2483d277520fb2c41372cbeedaf1ec7378feb74

Contents?: true

Size: 228 Bytes

Versions: 5

Compression:

Stored size: 228 Bytes

Contents

class AddUsersIndexes < ActiveRecord::Migration
  def change

      add_index :c80_news_tz_users, :provider
      add_index :c80_news_tz_users, :uid
      add_index :c80_news_tz_users, [:provider, :uid], unique: true

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.26 db/migrate/20160314093946_add_users_indexes.rb
c80_news_tz-0.1.1.25 db/migrate/20160314093946_add_users_indexes.rb
c80_news_tz-0.1.1.24 db/migrate/20160314093946_add_users_indexes.rb
c80_news_tz-0.1.1.23 db/migrate/20160314093946_add_users_indexes.rb
c80_news_tz-0.1.1.22 db/migrate/20160314093946_add_users_indexes.rb