add migration helpers and migrate layer attrs from longs to floats
update schema