change bigint to long in schema