blue-jay / blueprint

Blueprint for your next web application in Go.

Home Page:https://blue-jay.github.io/

Repository from Github https://github.comblue-jay/blueprintRepository from Github https://github.comblue-jay/blueprint

Postgresql Support

PatWie opened this issue · comments

You probably address guys coming from ruby-on-rails. Will there be Postgresql support? But nice work.

I don't plan on adding PostgreSQL to the project, but I found that there are a couple changes I should make to make it easier to swap out MySQL for PostgreSQL. I should also add documentation on how to add your own database.

For a quick overview, to add PostgreSQL, you'll need to do the following:

Does this make sense? Would you be willing to make a few of these changes and I can add them to a Wiki article on how to switch to PostgresSQL?

I added a wrapper for the pq package. I don't have any migrations for PostgreSQL yet, but it's a start. 84663fe