Project

General

Profile

Actions

Bug #7752

closed

adding field to createSQLTable try to add instead of change default when it is not the same as the original

Added by Anchi Cheng over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
07/08/2019
Due date:
% Done:

0%

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

Description

The initialization of database by myamiweb/xml/leginonDBschema.xml may have different default from sinedon definition. For example, boolean datatype may default to 0 or Null. It is better to keep xml value in case it is needed for a reason.

The bug tries to add the column and this is not allowed by pymysql.

Actions

Also available in: Atom PDF