ActiveRecord::Schema.define(:version => 20110323171649) do
  create_table 'example_resource_owners', :force => true do |t|
    t.string   'username'
    t.string   'password'
  end

  create_table 'oauth_clients', :force => true do |t|
    t.string   'name'
    t.string   'oauth_redirect_uri'
    t.string   'oauth_identifier', :null => false
    t.string   'oauth_secret', :null => false
  end

  create_table 'oauth_authorization_codes', :force => true do |t|
    t.integer  'authorization_id', :null => false
    t.string   'code',      :null => false
    t.datetime 'expires_at'
    t.datetime 'created_at'
    t.datetime 'updated_at'
    t.string   'redirect_uri', :null => false
  end

  create_table 'oauth_authorizations', :force => true do |t|
    t.integer  'client_id', :null => false
    t.integer  'resource_owner_id'
    t.string   'resource_owner_type'
    t.string   'scope'
    t.datetime 'expires_at'
  end

  create_table 'oauth_access_tokens', :force => true do |t|
    t.integer  'authorization_id', :null => false
    t.string   'access_token', :null => false
    t.string   'refresh_token'
    t.datetime 'expires_at'
    t.datetime 'created_at'
    t.datetime 'updated_at'
  end
end
