Skip to content

Instantly share code, notes, and snippets.

@jeffkreeftmeijer
Created April 17, 2010 15:01
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 jeffkreeftmeijer/369610 to your computer and use it in GitHub Desktop.
Save jeffkreeftmeijer/369610 to your computer and use it in GitHub Desktop.
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
t.string :login
t.string :encrypted_token
t.timestamps
end
end
def self.down
drop_table :users
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment