Skip to content

Instantly share code, notes, and snippets.

@jmif
Created April 22, 2012 18:32
Show Gist options
  • Save jmif/2466041 to your computer and use it in GitHub Desktop.
Save jmif/2466041 to your computer and use it in GitHub Desktop.
Rails Two Legged OAuth DB Migration
class Client < ActiveRecord::Migration
def change
create_table :client do |t|
t.string :api_key
t.string :secret
t.timestamps
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment