title: How to add dbmate to existing project?
body: <p><code>dbmate</code> (<a href="https://github.com/amacneil/dbmate" rel="nofollow noreferrer">link</a>) is an awesome CLI tool to manage schema migrations in SQL databases.  Our team has adopted it, but we have some pre-existing projects that already have PostgreSQL databases.  <code>dbmate</code> is great if used from the onset of a project, but is there any straightforward way to port a pre-existing database into <code>dbmate</code>?  Can't find anything about it on the docs.</p>
  
  <p>We have JetBrains tools like DataGrip/PyCharm pro at our disposable, so if there's some way to export the DB into a schema file that <code>dbmate</code> could then somehow manage, even if hacky, that solution would be fine.</p>