[buddypress-trac] [BuddyPress Trac] #9261: MySQL: error when creating invitations API tables
buddypress-trac
noreply at wordpress.org
Sun Feb 16 16:13:55 UTC 2025
#9261: MySQL: error when creating invitations API tables
--------------------------+--------------------------
Reporter: espellcaste | Owner: espellcaste
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 15.0.0
Component: Friends | Version: 5.0.0
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+--------------------------
Changes (by espellcaste):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"14100" 14100]:
{{{
#!CommitTicketReference repository="" revision="14100"
MySQL: fix an error when creating the invitations API tables.
MySQL 8+ introduced a change where it no longer accepts a `string` as the
default value for the `TEXT` data type. A literal default needs to be
specified as expression instead.
To avoid breaking back-compat, we will default the data type to `NULL`,
similar to how we do it in similar schema deta types in BuddyPress.
Fixes #9261
See https://github.com/buddypress/wp-cli-buddypress/pull/113
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9261#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list