Sha256: 2bce8fc1e8f9300825601bc2ecc7ec2ea17aeeac4d46aa0a7b135ea6c04fde0d

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

class CreateUserCredentials < ActiveRecord::Migration
  def up
    create_table :user_credentials do |t|
      t.references :user
      t.string :service
      t.string :login
      t.binary :password
      t.binary :password_key
      t.binary :password_iv
      
      t.timestamps
    end
  end
  
  def down
    drop_table :user_credentials
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
houston-core-0.5.0.beta1 db/migrate/20130519163615_create_user_credentials.rb