using postgresql! and also improved my short link code generator by adding in some randomness