Set default value for fields in token table
AcceptedPublic

Authored by nalvarez on Aug 13 2018, 9:38 AM.

Details

Reviewers
bcooksley
Group Reviewers
Sysadmin
Summary

The SQL schema in the Solena repository doesn't work, because it lacks a default value for some fields in the token table. This makes the registration form fail because it's not setting values for those fields when creating a new registration token.

This adds DEFAULT '' to fields mail, uid, givenName, and sn, making the schema file match what we have in the production server.

Test Plan

Tested in a local VM, registration form gets through and sends the confirmation email (or tries to).

Diff Detail

Repository
R925 KDE Identity (Solena) Application
Lint
Lint Skipped
Unit
Unit Tests Skipped
nalvarez requested review of this revision.Aug 13 2018, 9:38 AM
nalvarez created this revision.
bcooksley accepted this revision.Aug 14 2018, 4:15 AM
bcooksley added a subscriber: bcooksley.

That rings a bell yes, those changes would have been made after I drafted the initial schema...

This revision is now accepted and ready to land.Aug 14 2018, 4:15 AM