Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add comments to db schema and set default last_modified #1276
Added comments explaining table functionality to MySQL schema. These comments can be viewed in MySQL when browsing the schema which helps admins understand what each table is used for.
Changed default value for "last_modified" in grp table from "1970-01-01 00:00:00" to CURRENT_TIMESTAMP and set to automatically update "last_modified" if the record is ever updated. This means that if a record is inserted without a "last_modified", MySQL will insert an accurate time-stamp instead of 0000-00-00 00:00:00 which breaks the SQLOPS module.
Type Of Change
Are you using
The definition of sql tables for kamailio is done via xml files located in
If you want to do something similar for kamailio sql scripts, you will have to work on the flow with the xml files.
For now I am closing this one, being with a patch done to a file not really used these days. If you want to be applied there, reopen and we can discuss further.