Sha256: 3ffefd1045fd89e9d46eeadff3c331eb72e57354b98714a3e4cfc0a42fc68793

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

require 'test/unit'
require 'openid/store/sequel'

DB = Sequel.connect(ENV['DATABASE_URL'] || "postgres://localhost/openid_store_sequel_test")
DB.create_table! :open_id_associations do
  primary_key :id
  File        :server_url, :null => false
  String      :handle, :null => false
  File        :secret, :null => false
  Integer     :issued, :null => false
  Integer     :lifetime, :null => false
  String      :assoc_type, :null => false
end

DB.create_table! :open_id_nonces do
  primary_key :id
  String      :server_url, :null => false
  DateTime    :timestamp, :null => false
  String      :salt, :null => false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openid-store-sequel-0.0.2 test/helper.rb
openid-store-sequel-0.0.1 test/helper.rb