Superusers can add new products via the web GUI. This product addition also creates the database itself. However, an error is thrown when a PostgreSQL database name is provided that is starting with a digit or contains a dash character. These are not invalid characters in PostgreSQL, but the string has to be quoted in the SQL query:
CREATE DATABASE "42my-database";
If the database is created through SQLAlchemy, then quotation doesn't happen for some reason.
Superusers can add new products via the web GUI. This product addition also creates the database itself. However, an error is thrown when a PostgreSQL database name is provided that is starting with a digit or contains a dash character. These are not invalid characters in PostgreSQL, but the string has to be quoted in the SQL query:
If the database is created through SQLAlchemy, then quotation doesn't happen for some reason.