11 lines
229 B
Ruby
11 lines
229 B
Ruby
|
class RemoveBudgetFromContests < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
change_column :contests, :budget, :string, :default => ""
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
change_column :contests, :budget, :integer, :default => 0
|
||
|
end
|
||
|
|
||
|
end
|