Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 9b5e3e50c4
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.332 kB
class DeviseCreateUsers < ActiveRecord::Migration
def self.up
create_table(:users) do |t|
t.database_authenticatable :null => false
t.rememberable
t.trackable
t.encryptable
t.timestamps
end
add_index :users, :email, :unique => true
end
def self.down
drop_table :users
end
end
Jump to Line
Something went wrong with that request. Please try again.