Skip to content

Instantly share code, notes, and snippets.

@kelhusseiny
Created April 20, 2012 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelhusseiny/2426031 to your computer and use it in GitHub Desktop.
Save kelhusseiny/2426031 to your computer and use it in GitHub Desktop.
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :username
t.string :email
t.string :encrypted_password
t.string :salt
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment