projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d2504
)
make primary keys unsigned
author
Chuck Hagenbuch
<chuck@horde.org>
Fri, 6 Mar 2009 03:37:43 +0000
(22:37 -0500)
committer
Chuck Hagenbuch
<chuck@horde.org>
Fri, 6 Mar 2009 03:37:43 +0000
(22:37 -0500)
framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php
patch
|
blob
|
history
diff --git
a/framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php
b/framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php
index
9453c59
..
03178dd
100644
(file)
--- a/
framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php
+++ b/
framework/Db/lib/Horde/Db/Adapter/Mysql/Schema.php
@@
-72,7
+72,7
@@
class Horde_Db_Adapter_Mysql_Schema extends Horde_Db_Adapter_Abstract_Schema
public function nativeDatabaseTypes()
{
return array(
- 'primaryKey' => 'int(1
1) DEFAULT NULL auto_increment
PRIMARY KEY',
+ 'primaryKey' => 'int(1
0) UNSIGNED NOT NULL AUTO_INCREMENT
PRIMARY KEY',
'string' => array('name' => 'varchar', 'limit' => 255),
'text' => array('name' => 'text', 'limit' => null),
'integer' => array('name' => 'int', 'limit' => 11),