From: Ward Vandewege Date: Tue, 26 Feb 2013 22:04:26 +0000 (-0500) Subject: Remove superfluous fields from the Link object. X-Git-Tag: 1.1.0~3429 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/42aa4822db645c9a49e0bdc3665ada2c55727802 Remove superfluous fields from the Link object. --- diff --git a/db/migrate/20130226170000_remove_native_target_from_links.rb b/db/migrate/20130226170000_remove_native_target_from_links.rb new file mode 100644 index 0000000000..d6fa0a5efd --- /dev/null +++ b/db/migrate/20130226170000_remove_native_target_from_links.rb @@ -0,0 +1,10 @@ +class RemoveNativeTargetFromLinks < ActiveRecord::Migration + def up + remove_column :links, :native_target_id + remove_column :links, :native_target_type + end + def down + remove_column :links, :native_target_id, :integer + remove_column :links, :native_target_type, :string + end +end