Project

General

Profile

Download (329 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddFromAndToRangesToSubnets < ActiveRecord::Migration
def self.up
add_column :subnets, :from, :string
add_column :subnets, :to, :string
remove_column :subnets, :ranges
end

def self.down
add_column :subnets, :ranges, :string
remove_column :subnets, :to
remove_column :subnets, :from
end
end
(93-93/99)