-
Notifications
You must be signed in to change notification settings - Fork 577
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
dbtext: presentity table issue with empty values #1017
Comments
Hi, Ovidiu! This looks somehow related to #1004. As documented there, MySQL does not allow a blob to have a default value. If we would set them to Best regards, |
Here's what works for sca with both db_text and db_mysql:
and this will create the fields in mysql like this:
I can commit the changes if this is ok with everybody. |
Yes, but I was asking from code pov: are the modules ok if they receive |
I tested with NULL values in the table and it is working ok. |
The following fields from presentity table must accept empty/null values:
In the dbtext file, the above fields should be defined as:
The definition for body and extra_headers should be identical in ./db/schema/pr_presentity.xml
For regular presence stuff, extra_hdrs field will not be used and for sca (aka call-info) the body field will not be used.
The text was updated successfully, but these errors were encountered: