UST-QuAntiL / qhana-plugin-registry

A plugin registry for QHAna plugins
https://qhana-plugin-registry.readthedocs.io/en/latest
Apache License 2.0
0 stars 0 forks source link

use database-dependend collation for name field #20

Closed infacc closed 1 year ago

infacc commented 1 year ago

Different databases require different collations for case-insensitivity. To support not only sqlite databases the name field now holds a dictionary containing the corresponding collations for postgresql, mysql, sqlite, and mssql databases.

https://github.com/UST-QuAntiL/qhana-plugin-registry/blob/aac35387799065e7a2e5180be9169b60aa53cc03/qhana_plugin_registry/db/models/model_helpers.py#L68-L75

Fixes #17