Project

General

Profile

Actions

Bug #1148

closed

DEF_timestamp is NULL

Added by Gabriel Lander almost 14 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
unknown
Target version:
Start date:
01/18/2011
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 2.0.0
Show in known bugs:
No
Workaround:

Description

I just noticed that all of our processing (ap*) databases that were created after upgrading to 2.0 several months ago have NULL as the default for all the "DEF_timestamp" columns. Is this a problem with our installation of mysql/leginon/appion, or a bug in appion?
All the processing databases that were created before the upgrade still have the correct DEF_timestamp settings & values.
New processing databases look like this:

@
-----------------------------------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra |
-----------------------------------------------+------+-----+---------+----------------+ | DEF_id | int(20) | NO | PRI | NULL | auto_increment | | DEF_timestamp | timestamp | YES | MUL | NULL | |
@

But they should look like this, right?
@
-----------------------------------------------+------+-----+-------------------+----------------+ | Field | Type | Null | Key | Default | Extra |
-----------------------------------------------+------+-----+-------------------+----------------+ | DEF_id | int(20) | NO | PRI | NULL | auto_increment | | DEF_timestamp | timestamp | NO | MUL | CURRENT_TIMESTAMP | |
@


Related issues 2 (0 open2 closed)

Related to Appion - Feature #345: automatic database conversion on release updateClosedAmber Herold04/12/2010

Actions
Is duplicate of Leginon - Bug #942: LaunchedApplicationData timestamp is not initialized to not nullClosedAmber Herold10/14/2010

Actions
Actions

Also available in: Atom PDF