Project

General

Profile

« Previous | Next » 

Revision 3c6b140f

Added by Tomer Brisker about 4 years ago

Fixes #28838, #28931 - Safer seeding on initialization

Make sure that migartions have run before attempting to run seeds, to
ensure we don't get into a wierd state of the database if the app is
started before the db has been migrated.
Also, catch and log errors during seeding to prevent passanger from
failing to start if an error occurs.

  • added
  • modified
  • copied
  • renamed
  • deleted