From 1bd5e58c847816ae5751ee0026e55597d1541dd4 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 15 Jan 2012 18:19:19 +0000 Subject: Adds support for multiple repositories per project (#779). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- db/migrate/20120115143100_add_repositories_is_default.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/20120115143100_add_repositories_is_default.rb (limited to 'db/migrate/20120115143100_add_repositories_is_default.rb') diff --git a/db/migrate/20120115143100_add_repositories_is_default.rb b/db/migrate/20120115143100_add_repositories_is_default.rb new file mode 100644 index 000000000..87f018120 --- /dev/null +++ b/db/migrate/20120115143100_add_repositories_is_default.rb @@ -0,0 +1,9 @@ +class AddRepositoriesIsDefault < ActiveRecord::Migration + def self.up + add_column :repositories, :is_default, :boolean, :default => false + end + + def self.down + remove_column :repositories, :is_default + end +end -- cgit v1.2.3