Skip to content

Commit

Permalink
Fixed set properties migration... again
Browse files Browse the repository at this point in the history
  • Loading branch information
littlefyr committed Dec 23, 2008
1 parent ef31f37 commit ff89598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/migrate/002_set_properties.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,13 +1,13 @@
class SetProperties < ActiveRecord::Migration class SetProperties < ActiveRecord::Migration
def self.up def self.up
config_properties.sort.each do |i, j| config_properties.sort.each do |i, j|
Radiant::Config[i[0]] = i[1] Radiant::Config[i] = j
end end
end end


def self.down def self.down
config_properties.sort.each do |i, j| config_properties.sort.each do |i, j|
Radiant::Config[i[0]] = nil Radiant::Config[i] = nil
end end
end end
private private
Expand Down

0 comments on commit ff89598

Please sign in to comment.