Fix_User_Table timestamp replacement columns are off

mcpuddin - November 13, 2009 - 04:05
Project:Database Scripts
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:hefox
Status:fixed
Description

The Timestamp columns are set as :
$access_column = 10;
$login_column = 11;

However, my schema is as follows for user:
0 uid
1 name
2 pass
3 mail
4 mode
5 sort
6 threshold
7 theme
8 signature
9 signature_format
10 created
11 access
12 login
13 status
14 timezone
15 language
16 picture
17 init
18 data

Thus I am updating my code to:
$access_column = 11;
$login_column = 12;

#1

hefox - December 18, 2009 - 06:03
Assigned to:Anonymous» hefox

I wonder if that is why my user table always has conflicts hm!

The code should figure out the real column placement or put it into config file; I'd prefer the former but need to talk to ceardach to see if schema definitions are easy to access.

#2

hefox - December 22, 2009 - 05:06
Priority:critical» normal
Status:active» fixed

http://drupalcode.org/viewvc/drupal/contributions/modules/dbscripts/dbsc...

This was due to drupal update that added in signature_format before those two columns. Should now be fixed.

 
 

Drupal is a registered trademark of Dries Buytaert.