Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #6 from TheFenux/master
Browse files Browse the repository at this point in the history
Added schema to replace SQL file.
  • Loading branch information
cakebaker committed Oct 10, 2014
2 parents 476bdbc + e3b2b0d commit e082891
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions Config/Schema/schema.php
@@ -0,0 +1,60 @@
<?php
/**
*
* @author Jason Burgess <jason@notplugged.in>
* @version 1.1
*
*/
class OpenIdSchema extends CakeSchema {

/**
*
* @var unknown
*/
public $oid_associations = array(
'server_url' => array(
'type' => 'string',
'null' => false,
'limit' => 2047,
'key' => 'primary',
'collate' => 'utf8_general_ci',
'charset' => 'utf8'),
'handle' => array(
'type' => 'string',
'null' => false,
'limit' => 255,
'key' => 'primary'),
'secret' => array('type' => 'binary', 'null' => false),
'issued' => array('type' => 'integer', 'null' => false),
'lifetime' => array('type' => 'integer', 'null' => false),
'assoc_type' => array('type' => 'string', 'null' => false, 'limit' => 64),
'indexes' => array(
'PRIMARY' => array(
'column' => array('`server_url`(255)', 'handle'),
'unique' => 1)),
'tableParameters' => array(
'charset' => 'utf8',
'collate' => 'utf8_general_ci',
'engine' => 'InnoDB'));

/**
*
* @var unknown
*/
public $oid_nonces = array(
'server_url' => array(
'type' => 'string',
'null' => false,
'limit' => 2047,
'key' => 'primary',
'collate' => 'utf8_general_ci',
'charset' => 'utf8'),
'timestamp' => array('type' => 'integer', 'null' => false),
'salt' => array('type' => 'string', 'null' => false, 'length' => 40),
'indexes' => array(
'PRIMARY' => array('column' => array('`server_url`(255)', 'timestamp', 'salt'))),
'tableParameters' => array(
'charset' => 'utf8',
'collate' => 'utf8_general_ci',
'engine' => 'InnoDB'));
}

0 comments on commit e082891

Please sign in to comment.