diff options
Diffstat (limited to 'db/migrate/20120115143100_add_repositories_is_default.rb')
-rw-r--r-- | db/migrate/20120115143100_add_repositories_is_default.rb | 9 |
1 files changed, 9 insertions, 0 deletions
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 |