Sha256: d28cee2040511a81b4fcd8cc3c7ae9f01e787f4e93f357d7424128727d5fe957
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :login, :limit => 50, :null => false t.string :email, :limit => 50, :null => false t.string :crypted_password, :limit => 40, :null => false t.string :salt, :limit => 40, :null => false t.string :crypted_activation_key, :limit => 40 t.integer :role, :default => 10 t.timestamps end end def down drop_table :users end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fs_auth-0.0.1 | db/migrate/20111222014537_create_users.rb |