Sha256: edd59bc16e922df2748b7b71a8154b1c85e24629e8c3e0a1b157cb06d751dfc1

Contents?: true

Size: 213 Bytes

Versions: 2

Compression:

Stored size: 213 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :login, :password, :crypted_password, :salt
    end
  end
  
  def self.down
    drop_table :users
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
pluginaweek-encrypted_attributes-0.4.0 test/app_root/db/migrate/001_create_users.rb
encrypted_attributes-0.4.0 test/app_root/db/migrate/001_create_users.rb