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 |
Jump to:
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
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
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.