2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-01-24 20:35:16 +00:00
|
|
|
class AddSrpmColumnsToProjects < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
|
|
change_table :projects do |t|
|
|
|
|
t.has_attached_file :srpm
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
drop_attached_file :projects, :srpm
|
|
|
|
end
|
|
|
|
end
|