Adds db constraints to long_url length