Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use an "expression" to specify the session column default in the key table. #2537

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

drgrice1
Copy link
Member

MySQL requires that the default value for a TEXT column be written as an expression. See https://dev.mysql.com/doc/refman/8.4/en/data-type-defaults.html. MariaDB apparently works fine without this, but works fine with it as well.

This fixes issue #2536.

…ey` table.

MySQL requires that the default value for a `TEXT` column be written as
an expression.  See https://dev.mysql.com/doc/refman/8.4/en/data-type-defaults.html.
MariaDB apparently works fine without this, but works fine with it as
well.

This fixes issue openwebwork#2536.
somiaj added a commit that referenced this pull request Aug 27, 2024
Use an "expression" to specify the `session` column default in the `key` table. (hotfix of #2537)
@somiaj somiaj merged commit 01732a2 into openwebwork:develop Aug 27, 2024
2 checks passed
@drgrice1 drgrice1 deleted the text-default-expression branch September 2, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants