<p>Are you using <code>misc/scripts/mysql/my_create.sql</code>? This is for SER flavour, not used by Kamailio these days. It's there for the case someone will needed by using an old ser version.</p>
<p>The definition of sql tables for kamailio is done via xml files located in <code>src/lib/srdb1/schema/</code> and sql scripts are generated using <code>make dbschema</code>. From the xml files is generated only a doc describing the tables:</p>
<ul>
<li><a href="https://kamailio.org/docs/db-tables/kamailio-db-devel.html">https://kamailio.org/docs/db-tables/kamailio-db-devel.html</a></li>
</ul>
<p>If you want to do something similar for kamailio sql scripts, you will have to work on the flow with the xml files.</p>
<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/1276#issuecomment-338584655">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zfv1CBoYSdARue4Bnlg8XJlp1cCKks5svE3cgaJpZM4QBJYP">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZajhsGDH1CzRipr08q0isMZMTinVks5svE3cgaJpZM4QBJYP.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/1276#issuecomment-338584655"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1276: Are you using `misc/scripts/mysql/my_create.sql`? This is for SER flavour, not used by Kamailio these days. It's there for the case someone will needed by using an old ser version.\r\n\r\nThe definition of sql tables for kamailio is done via xml files located in `src/lib/srdb1/schema/` and sql scripts are generated using `make dbschema`. From the xml files is generated only a doc describing the tables:\r\n\r\n  * https://kamailio.org/docs/db-tables/kamailio-db-devel.html\r\n\r\nIf you want to do something similar for kamailio sql scripts, you will have to work on the flow with the xml files.\r\n\r\nFor 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."}],"action":{"name":"View Pull Request","url":"https://github.com/kamailio/kamailio/pull/1276#issuecomment-338584655"}}}</script>