code4romania / rezultate-vot-api

Mozilla Public License 2.0
5 stars 9 forks source link

Review and fix DB migrations #168

Open decembrya opened 2 years ago

decembrya commented 2 years ago

When starting a new instance of the app and DB from scratch the current migrations will not create an 'Alias' column in the parties table which causes the ResultsCrawler to fail.

Noticed that there are some commented out migrations even though the columns are used. Review and recreate migrations so that a new app setup will work out of the box.