thingspeak/db/migrate/20120220015055_add_col_to_windows.rb
2014-02-17 12:05:39 -05:00

12 lines
244 B
Ruby

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