diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-23 11:26:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-23 11:26:04 +0000 |
commit | d74f0bfd5c53962e332c2dd4d30dafaa1105b92b (patch) | |
tree | f3eaf66d67c3a87fb34340561bf188d364de623c /db/migrate/20120115143126_set_default_repositories.rb | |
parent | 41bb302594b48152b87c92f196c915f499093bbf (diff) | |
download | redmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.tar.gz redmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.zip |
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20120115143126_set_default_repositories.rb')
-rw-r--r-- | db/migrate/20120115143126_set_default_repositories.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20120115143126_set_default_repositories.rb b/db/migrate/20120115143126_set_default_repositories.rb index 38e06f0ad..e99b30725 100644 --- a/db/migrate/20120115143126_set_default_repositories.rb +++ b/db/migrate/20120115143126_set_default_repositories.rb @@ -1,4 +1,4 @@ -class SetDefaultRepositories < ActiveRecord::Migration +class SetDefaultRepositories < ActiveRecord::Migration[4.2] def self.up Repository.update_all(["is_default = ?", false]) # Sets the last repository as default in case multiple repositories exist for the same project |