class CreateRtmlStates < ActiveRecord::Migration def self.up create_table :rtml_states do |t| t.string :itid t.string :model t.string :serial_number t.string :os t.string :part_number t.datetime :datetime t.datetime :datetime_start t.text :other_data t.timestamps end end def self.down drop_table :rtml_states end end