When using MariaDB there seems to be an inherit violation of the version column ebing used as a primary key without a key length being specified.
See the error -
Migration execution error: Request to mariadb://root:_@host.docker.internal:3306/ocaml_blog failed: Error 1170, BLOB/TEXT column 'version' used in key specification without a key length. Query: "CREATE TABLE IF NOT EXISTS petrol_blog_schema_version_db (version TEXT PRIMARY KEY\nNOT NULL)".
I was looking for a way to overwrite or set preferred column types for these values, but none seem to exist. Not sure if that would be the preferred way to fix or if there's something more elegant, but for now I assume I could just swap to another DB driver as I'm only working on a small-scale project.
When using MariaDB there seems to be an inherit violation of the version column ebing used as a primary key without a key length being specified.
See the error -
Migration execution error: Request to mariadb://root:_@host.docker.internal:3306/ocaml_blog failed: Error 1170, BLOB/TEXT column 'version' used in key specification without a key length. Query: "CREATE TABLE IF NOT EXISTS petrol_blog_schema_version_db (version TEXT PRIMARY KEY\nNOT NULL)".
I was looking for a way to overwrite or set preferred column types for these values, but none seem to exist. Not sure if that would be the preferred way to fix or if there's something more elegant, but for now I assume I could just swap to another DB driver as I'm only working on a small-scale project.