Skip to content

[SQL/physiological] Remove physiological file dummy date default#10410

Open
MaximeBICMTL wants to merge 1 commit intoaces:mainfrom
MaximeBICMTL:remove_ugly_default_date
Open

[SQL/physiological] Remove physiological file dummy date default#10410
MaximeBICMTL wants to merge 1 commit intoaces:mainfrom
MaximeBICMTL:remove_ugly_default_date

Conversation

@MaximeBICMTL
Copy link
Contributor

Problem

The physiological_table field is nullable, yet it uses a dummy date as a default. Although the imaging scripts seem to always put a date manually, a dummy date is a bad practice as it is harder to be sure whether a date is real or not.

Solution

Just use NULL as a default instead.

Testing

Ran the patch in Raisinbread and checked that nothing bad happened.

@MaximeBICMTL MaximeBICMTL added Category: Cleanup PR or issue introducing/requiring at least one clean-up operation Language: SQL PR or issue that update SQL code Difficulty: Simple PR or issue that should be easy to implement, review, or test Release: SQL patch PR that contains an SQL patch to apply labels Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Cleanup PR or issue introducing/requiring at least one clean-up operation Difficulty: Simple PR or issue that should be easy to implement, review, or test Language: SQL PR or issue that update SQL code Release: SQL patch PR that contains an SQL patch to apply

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant