You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Max Philipp Wriedt (Jira)" <ji...@apache.org> on 2025/09/15 08:21:00 UTC

[jira] [Created] (TORQUE-373) DEFAULT value generated for non suppurted sql-types

Max Philipp Wriedt created TORQUE-373:
-----------------------------------------

             Summary: DEFAULT value generated for non suppurted sql-types
                 Key: TORQUE-373
                 URL: https://issues.apache.org/jira/browse/TORQUE-373
             Project: Torque
          Issue Type: Task
          Components: Templates
    Affects Versions: 7.0, 6.0
            Reporter: Max Philipp Wriedt
            Assignee: Max Philipp Wriedt


When defining a column as LONGVARCHAR with a default value the SQL generated contains a "DEFAULT" which is invalid for the mapped "MEDIUMTEXT" in MySQL/MariaDB. (but might be ignored/warning-only based on the executor of the SQL-schema).

I've started working on a fix, but I'm indifferent, whether this is a special case for MySQL or if we should add a "hasDefault" at the Platform interface.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org