Actions
Bug #7752
closedadding field to createSQLTable try to add instead of change default when it is not the same as the original
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.
Updated by Anchi Cheng over 5 years ago
Remove alter table CHANGE so that default or enumerater changes are not affected since the part may still be triggered when new field is added through sinedon.
Actions