Skip to content

[SQL] psc.Alias length and uniqueness #9995

@MaximeBICMTL

Description

@MaximeBICMTL

Description

In the LORIS SQL schema, psc.Alias is 3-character long with no constraint of uniqueness. I think we should make this field 4-character (maybe 5?) long and unique.

The arguments are the following one:

  • 3 characters is rather limiting, psc.Alias is 4-character long in C-BIG (the field is overwritten).
  • The psc.MRI_alias field, which we would like to eventually remove, is also 4-character long.
  • I think some code in LORIS-MRI relies on the uniqueness of site aliases, and I would not be surprised if this also happens in other code.

There are duplicates in C-BIG but I believe this is a mistake on our part. What about other projects ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language: SQLPR or issue that update SQL codeProject: C-BIGIssue or PR related to the C-BIG project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions