<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cashier/vendor/github.com/rubenv/sql-migrate, branch v1.1.0</title>
<subtitle>Mirror of Cashier, a SSH Certificate Authority (CA).
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/cashier/'/>
<entry>
<title>Manage db schema with rubenv/sql-migrate</title>
<updated>2018-08-07T14:43:39+00:00</updated>
<author>
<name>Niall Sheridan</name>
<email>nsheridan@gmail.com</email>
</author>
<published>2018-08-05T22:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/cashier/commit/?id=d836a4496de7b24a9d3317e274800d35053a04f6'/>
<id>d836a4496de7b24a9d3317e274800d35053a04f6</id>
<content type='text'>
It's currently hard to make changes to the database schema. Use sql-migrate to make incremental changes.
Stop hard-coding the database name (the default is still "certs" for backward-compatibility)
The `automigrate()` function will automatically run pending migrations.
Use a different migration directory per database driver. This carries a cost of duplication, but is easier than creating migrations which will cleanly execute in both SQLite and MySQL.
Migrations are shipped using the packr utility.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's currently hard to make changes to the database schema. Use sql-migrate to make incremental changes.
Stop hard-coding the database name (the default is still "certs" for backward-compatibility)
The `automigrate()` function will automatically run pending migrations.
Use a different migration directory per database driver. This carries a cost of duplication, but is easier than creating migrations which will cleanly execute in both SQLite and MySQL.
Migrations are shipped using the packr utility.
</pre>
</div>
</content>
</entry>
</feed>
