Roxot / polly

Event planning made easy.
www.getpollyapp.com
0 stars 0 forks source link

Implement database migrations #20

Open Roxot opened 8 years ago

Roxot commented 8 years ago

We want some system in place for when the database changes (say a column is added to or removed from a table) happen and existing queries wouldn't work properly anymore. We would want the database to be altered before the new version of polly server goes live (for example, by adding a new column to all entries containing nil). We could either write our own scripts for this, or we could search for some third party tool that does this (and works well with postgres).

Roxot commented 8 years ago

GORM as suggested in #25 seems to support database migrations, worth taking a look into.