Skip to content

Commit

Permalink
Merge pull request #38 from Zeelot/3.2/bugs/4011+4094
Browse files Browse the repository at this point in the history
3.2/bugs/4011+4094
  • Loading branch information
zombor committed Jul 12, 2011
2 parents 5777dbe + df85312 commit bb5f9ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion auth-schema-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CREATE TABLE IF NOT EXISTS `roles_users` (

CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
`email` varchar(127) NOT NULL,
`email` varchar(254) NOT NULL,
`username` varchar(32) NOT NULL DEFAULT '',
`password` varchar(64) NOT NULL,
`logins` int(10) UNSIGNED NOT NULL DEFAULT '0',
Expand Down
2 changes: 1 addition & 1 deletion auth-schema-postgresql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CREATE TABLE roles_users
CREATE TABLE users
(
id serial,
email varchar(318) NOT NULL,
email varchar(254) NOT NULL,
username varchar(32) NOT NULL,
"password" varchar(64) NOT NULL,
logins integer NOT NULL DEFAULT 0,
Expand Down
5 changes: 0 additions & 5 deletions classes/kohana/orm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1608,11 +1608,6 @@ public function primary_key()
return $this->_primary_key;
}

public function primary_val()
{
return $this->_primary_val();
}

public function table_name()
{
return $this->_table_name;
Expand Down

0 comments on commit bb5f9ef

Please sign in to comment.