thingspeak/db/migrate/20120317011252_create_chart_window_details.rb
2014-02-17 12:05:39 -05:00

15 lines
278 B
Ruby

class CreateChartWindowDetails < ActiveRecord::Migration
def self.up
create_table :chart_window_details do |t|
t.integer :chart_window_id
t.integer :field_number
t.timestamps
end
end
def self.down
drop_table :chart_window_details
end
end