db/migrate/20150319082310_servers_change_timestamp_columns_to_decimal.rb
# change timestamp columns to support time with milliseconds (unix timestamp with milliseconds)
change timestamp columns to support time with milliseconds (unix timestamp with milliseconds)
change timestamp columns to support time with milliseconds ( unix timestamp with milliseconds )
def up
    Ping.delete_all
    change_column :servers, :last_ping_at, :decimal, :precision => 13, :scale => 3
    change_column :servers, :next_ping_at, :decimal, :precision => 13, :scale => 3
  end
def up Ping . delete_all change_column :servers , :last_ping_at , :decimal , :precision => 13 , :scale => 3 change_column :servers , :next_ping_at , :decimal , :precision => 13 , :scale => 3 end
change timestamp columns to support time with milliseconds (unix timestamp with milliseconds)
change timestamp columns to support time with milliseconds ( unix timestamp with milliseconds )