Sha256: e149168986c31be15a5c1c1caa1551f8c8ed30dfe8dd03941e6298662d11681c
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
class AddDeviceInformationToSsoClients < ActiveRecord::Migration def change change_table :sso_clients do |t| t.string "device_os" t.string "device_os_version" t.string "device_model" t.string "random_token" end Sso::Client.find_each do |client| client.save end change_column :sso_clients, :random_token, :string, :null => true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper_sso-0.4.6 | db/migrate/20151030064515_add_device_information_to_sso_clients.rb |