# HG changeset patch # User luisf # Date 1297095743 0 # Node ID 11661511fc20d0c7991511466faf1fdde311d9c6 # Parent 61d8fba252fd056b8ca9fc4567de898f0608ea7a migration to add external repositories columns to repositories table. diff -r 61d8fba252fd -r 11661511fc20 db/migrate/20110207142856_add_ext_rep_to_repositories.rb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db/migrate/20110207142856_add_ext_rep_to_repositories.rb Mon Feb 07 16:22:23 2011 +0000 @@ -0,0 +1,11 @@ +class AddExtRepToRepositories < ActiveRecord::Migration + def self.up + add_column :repositories, :is_external, :bool + add_column :repositories, :external_url, :string + end + + def self.down + remove_column :repositories, :is_external + remove_column :repositories, :external_url + end +end