class CreateHeatMaps

Public Instance Methods

change() click to toggle source
# File lib/generators/heatmap_rails/templates/initializer.rb, line 2
def change
  create_table :heat_maps do |t|
    t.string :path
    t.string :click_type
    t.float :offset_x
    t.float :offset_y
    t.text :xpath

    t.timestamps
  end
end