Sha256: e9ea4aa1749c58d4f04591320eabf8acf152de6c3a5bf77ab9d43226c4a21c77
Contents?: true
Size: 631 Bytes
Versions: 1
Compression:
Stored size: 631 Bytes
Contents
require 'active_record/connection_adapters/abstract/schema_definitions' module Oauth2 module Auth module Server module Schema def oauth2_client string :identifier, :secret, :name, :redirect_uri, :null => false end def oauth2_access_token belongs_to :client string :token, :null => false string :scope datetime :expires_at end end end end end ActiveRecord::ConnectionAdapters::Table.send :include, Oauth2::Auth::Server::Schema ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Oauth2::Auth::Server::Schema
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
oauth2-auth-server-0.0.1 | lib/oauth2-auth-server/schema.rb |