Change database attributes from int to long