Closed Bug 1664896 Opened 4 years ago Closed 4 years ago

checksetup.pl error when updating oath2_scope table to add detailed scope descriptions.

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

Using checksetup.pl to update a preexisting database that had the older format oauth2_scope table to the new format with more descriptive explanations of the scopes gives the error:

Adding new column 'description' to the 'oauth2_scope' table...
DBD::mysql::db do failed: BLOB, TEXT, GEOMETRY or JSON column 'description' can't have a default value [for Statement "ALTER TABLE oauth2_scope ADD COLUMN description tinytext DEFAULT 'Needs Description' NOT NULL"] at /app/Bugzilla/DB.pm line 71.

Attached file GitHub Pull Request

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: