diff options
author | Rémy Coutable <remy@rymai.me> | 2016-01-28 12:23:37 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-01-28 12:23:37 +0100 |
commit | 55ab92c00bb79a951dea477d59e440c80dc96f91 (patch) | |
tree | d4a534caf13a248778b070c2953b9135f6883b56 /.gitattributes | |
parent | 869b4d7c6ad5c025f310eeecce7293bf5bbc4926 (diff) | |
download | gitlab-ce-55ab92c00bb79a951dea477d59e440c80dc96f91.tar.gz |
Use ActiveRecord::Base.connection.active? and rescue any exception in connect_to_db?fix-preventing-migration-from-crashing-in-specific-cases
This ensures that rake tasks that don't need a DB connection can be run
without one.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions