<div dir="ltr">Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-27 16:43 GMT+01:00 Tomek Mrugalski <span dir="ltr"><<a href="mailto:tomasz@isc.org" target="_blank">tomasz@isc.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/27/18 16:26, Stéphane Klein wrote:<br>
> Hi,<br>
><br>
> I see schema version in PostgreSQL init file:<br>
> <a href="https://github.com/isc-projects/kea/blob/master/src/share/database/scripts/pgsql/dhcpdb_create.pgsql" rel="noreferrer" target="_blank">https://github.com/isc-<wbr>projects/kea/blob/master/src/<wbr>share/database/scripts/pgsql/<wbr>dhcpdb_create.pgsql</a><br>
><br>
> schema version 1.0, 2.0, 3.0 and 4.0.<br>
><br>
> What is the relation between Kea version and schema version ?<br>
</span>It's just a version used to determine whether the DB should be upgraded<br>
or not during upgrading to new Kea version. Sometimes there are no<br>
changes in the schema, even though Kea version has changed. For example<br>
Kea 1.2 used Postgres schema 3.1 and so did Kea 1.3, because in the<br>
meantime nothing was changed in the schema.<br>
<br>
Each backend has its own schema version number. We bump up major version<br>
when there are backward incompatible changes. We bump minor versions<br>
when there are smaller changes that are generally backward compatible.<br>
<br>
Details in Section 4.1:<br>
<a href="http://kea.isc.org/docs/kea-guide.html#kea-database-version" rel="noreferrer" target="_blank">http://kea.isc.org/docs/kea-<wbr>guide.html#kea-database-<wbr>version</a><br>
<span class=""><br>
> Schema version 3.0 for Kea 1.3 ?<br>
</span>3.1 for Postgres, 5.1 for MySQL and 1.0 for Cassandra.<br>
<br>
Tomek<br>
______________________________<wbr>_________________<br>
Kea-users mailing list<br>
<a href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/kea-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/<wbr>listinfo/kea-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Stéphane Klein <<a href="mailto:contact@stephane-klein.info" target="_blank">contact@stephane-klein.info</a>><br>blog: <a href="http://stephane-klein.info" target="_blank">http://stephane-klein.info</a><br>cv : <a href="http://cv.stephane-klein.info" target="_blank">http://cv.stephane-klein.info</a><br>Twitter: <a href="http://twitter.com/klein_stephane" target="_blank">http://twitter.com/klein_stephane</a></div></div></div>
</div>