Sha256: 02c5192b753edcd49e36d0a82f341dddcbe5a6e40407f038d8af6eb41ac4b33a
Contents?: true
Size: 550 Bytes
Versions: 16
Compression:
Stored size: 550 Bytes
Contents
class ClearanceCreateUsers < ActiveRecord::Migration def self.up create_table(:users) do |t| t.string :email t.string :encrypted_password, :limit => 128 t.string :salt, :limit => 128 t.string :confirmation_token, :limit => 128 t.string :remember_token, :limit => 128 t.boolean :email_confirmed, :default => false, :null => false t.timestamps end add_index :users, :email add_index :users, :remember_token end def self.down drop_table :users end end
Version data entries
16 entries across 16 versions & 3 rubygems