change Confirm_email to Confirm_address

darcs-hash:20080622155028-34904-4861ffd6927b05c35614b1ce8c51eec73e0bc9ac.gz
This commit is contained in:
Evan Prodromou 2008-06-22 11:50:28 -04:00
parent 695ad02bdb
commit b19c86bd00
3 changed files with 16 additions and 8 deletions

View File

@ -1,22 +1,23 @@
<?php <?php
/** /**
* Table Definition for confirm_email * Table Definition for confirm_address
*/ */
require_once 'DB/DataObject.php'; require_once 'DB/DataObject.php';
class Confirm_email extends DB_DataObject class Confirm_address extends DB_DataObject
{ {
###START_AUTOCODE ###START_AUTOCODE
/* the code below is auto generated do not remove the above tag */ /* the code below is auto generated do not remove the above tag */
public $__table = 'confirm_email'; // table name public $__table = 'confirm_address'; // table name
public $code; // varchar(32) primary_key not_null public $code; // varchar(32) primary_key not_null
public $user_id; // int(4) not_null public $user_id; // int(4) not_null
public $email; // varchar(255) not_null public $address; // varchar(255) not_null
public $address_type; // varchar(32) not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* Static get */ /* Static get */
function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Confirm_email',$k,$v); } function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Confirm_address',$k,$v); }
/* the code above is auto generated do not remove the tag below */ /* the code above is auto generated do not remove the tag below */
###END_AUTOCODE ###END_AUTOCODE

View File

@ -34,6 +34,8 @@ class User extends DB_DataObject
public $nickname; // varchar(64) unique_key public $nickname; // varchar(64) unique_key
public $password; // varchar(255) public $password; // varchar(255)
public $email; // varchar(255) unique_key public $email; // varchar(255) unique_key
public $jabber; // varchar(255) unique_key
public $sms; // varchar(64) unique_key
public $uri; // varchar(255) unique_key public $uri; // varchar(255) unique_key
public $created; // datetime() not_null public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP

View File

@ -16,13 +16,14 @@ width = K
height = K height = K
url = U url = U
[confirm_email] [confirm_address]
code = 130 code = 130
user_id = 129 user_id = 129
email = 130 address = 130
address_type = 130
modified = 384 modified = 384
[confirm_email__keys] [confirm_address__keys]
code = K code = K
[consumer] [consumer]
@ -115,6 +116,8 @@ id = 129
nickname = 2 nickname = 2
password = 2 password = 2
email = 2 email = 2
jabber = 2
sms = 2
uri = 2 uri = 2
created = 142 created = 142
modified = 384 modified = 384
@ -123,6 +126,8 @@ modified = 384
id = K id = K
nickname = U nickname = U
email = U email = U
jabber = U
sms = U
uri = U uri = U
[user_openid] [user_openid]