From 3dddaa3e6ff47b52df5836a49272952893208ddc Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 18 Oct 2009 06:56:24 +0000 Subject: #356074 by chx and Damien Tournoud: Provide a sequences API. Gets rid of stupid tables that only contain an incrementing ID, and fixes database import problems due to user ID 0. --- modules/user/user.install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/user/user.install') diff --git a/modules/user/user.install b/modules/user/user.install index 610d3d566..2b93e4e68 100644 --- a/modules/user/user.install +++ b/modules/user/user.install @@ -102,10 +102,11 @@ function user_schema() { 'description' => 'Stores user data.', 'fields' => array( 'uid' => array( - 'type' => 'serial', + 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'description' => 'Primary Key: Unique user ID.', + 'default' => 0, ), 'name' => array( 'type' => 'varchar', -- cgit v1.2.3