Also uses int in database to represent user ids (Cf. #844 and 7fe2cd86).
authorVincent Zanotti <vincent.zanotti@polytechnique.org>
Wed, 18 Jun 2008 19:24:36 +0000 (21:24 +0200)
committerVincent Zanotti <vincent.zanotti@polytechnique.org>
Wed, 18 Jun 2008 19:24:36 +0000 (21:24 +0200)
Signed-off-by: Vincent Zanotti <vincent.zanotti@polytechnique.org>
upgrade/fusionax-0.0.1/02_networking.sql

index a266038..64cbc8f 100644 (file)
@@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS `profile_networking_enum` (
 ) CHARSET=utf8 COMMENT='types of networking addresses';
 
 CREATE TABLE IF NOT EXISTS `profile_networking` (
-    `uid` smallint unsigned NOT NULL COMMENT 'user id',
+    `uid` int NOT NULL COMMENT 'user id',
     `nwid` tinyint unsigned NOT NULL COMMENT 'number of the address for the user',
     `network_type` tinyint unsigned NOT NULL,
     `address` varchar(255) NOT NULL,