Sha256: 4b1930ad67a50ab89b52319a718f78023baf516eab867bf27a8cdf6bf3b33861

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 Bytes

Contents

class AddEncryptionOnOauthKeys < ActiveRecord::Migration
  def change
    rename_column :organizations, :oauth_token, :encrypted_oauth_token
    add_column :organizations, :encrypted_oauth_token_iv, :string
    rename_column :organizations, :refresh_token, :encrypted_refresh_token
    add_column :organizations, :encrypted_refresh_token_iv, :string
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maestrano-connector-rails-1.0.4 db/20160524112054_add_encryption_on_oauth_keys.rb
maestrano-connector-rails-1.0.3 db/20160524112054_add_encryption_on_oauth_keys.rb
maestrano-connector-rails-1.0.2 db/20160524112054_add_encryption_on_oauth_keys.rb
maestrano-connector-rails-1.0.1 db/20160524112054_add_encryption_on_oauth_keys.rb
maestrano-connector-rails-1.0.0 db/20160524112054_add_encryption_on_oauth_keys.rb