<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I'm having a problem when trying to create realtime stuff for
asterisk 13 in mysql DB.<br>
Following
<a class="moz-txt-link-freetext" href="https://wiki.asterisk.org/wiki/display/AST/Managing+Realtime+Databases+with+Alembic">https://wiki.asterisk.org/wiki/display/AST/Managing+Realtime+Databases+with+Alembic</a>,
I've successfully created the main tables using "config" schema.<br>
<br>
<blockquote type="cite">Update <code style="font-family: monospace;">script_location</code><span
class="Apple-converted-space"> </span>to the schema to update.
Asterisk currently supports two sets of schemas:
<ol style="margin: 0px; list-style-type: lower-alpha;">
<li><code style="font-family: monospace;">config</code><span
class="Apple-converted-space"> </span>- the set of schemas
for Asterisk Realtime databases</li>
<li><code style="font-family: monospace;">voicemail</code><span
class="Apple-converted-space"> </span>- the schema for ODBC
VoiceMail</li>
</ol>
</blockquote>
<br>
<br>
But when trying to use "voicemail" schema, I get the following error
:<br>
<br>
[root@centrex5 ast-db-manage]# alembic -c config.ini upgrade head<br>
INFO [alembic.migration] Context impl MySQLImpl.<br>
INFO [alembic.migration] Will assume non-transactional DDL.<br>
ERROR [alembic.util] No such revision or branch 'a541e0b5e89'<br>
FAILED: No such revision or branch 'a541e0b5e89'<br>
[root@centrex5 ast-db-manage]# <br>
<br>
Any tip ?<br>
I'm using latest asterisk 13 sources.<br>
<br>
Regards,<br>
Cédric
</body>
</html>