Migrate to psql and don't use flickr anymore