Fix bigint SQL type