kobotoolbox / kobocat

Our (backend) server for providing blank forms to Collect and Enketo and for receiving and storing submissions.
BSD 2-Clause "Simplified" License
117 stars 127 forks source link

Make user not nullable in DailyXFormSubmissionCounter #900

Closed LMNTL closed 1 year ago

LMNTL commented 1 year ago

Makes the user relation on DailyXFormSubmissionCounter non-nullable, to make it match MonthlyXFormSubmissionCounter.

This fixes issues running logger.0030_backfill_lost_monthly_counters. The migrations aren't squashed so that the schema alterations can be atomic.