thingspeak/db/migrate/20120220015055_add_col_to_windows.rb

12 lines
244 B
Ruby
Raw Normal View History

class AddColToWindows < ActiveRecord::Migration
def self.up
add_column :windows, :col, :integer
add_column :windows, :title, :string
end
def self.down
remove_column :windows, :title
remove_column :windows, :col
end
end