BoiseState / interfaith-donation

Donation app and website to manage donations for Interfaith Sanctuary.
GNU General Public License v2.0
4 stars 1 forks source link

Duplicate Columns in Database #269

Closed lbosse closed 6 years ago

lbosse commented 6 years ago

Some of the database tables have duplicate columns (for instance, callouts has callout_date_created and callout_create_date). However, when I check the Dockerfile for our database I see it's just running interfaith_DDL.sql, which only creates the callout_create_date column. I'm on the develop branch, removed all my docker images and containers, rebuilt with docker-compose build --no-cache and still am having this problem.

Spring creates columns in our database based on our model attributes - if our column names in our model do not match what's in our SQL file, Spring could be creating extra columns. Make sure they match!