#!/bin/bash


USERSDATABASES="alliedbiscuitinspections atestingactivityfeed-activity_feed atestingactivityfeed-firstcorpus atestingactivityfeed-firstcorpus-activity_feed devsample-firstcorpus samplelocal-activity_feed samplelocal-firstcorpus samplelocal-firstcorpus-activity_feed samplelocal10-activity_feed samplelocal10-firstcorpus samplelocal10-firstcorpus-activity_feed samplelocal11-activity_feed samplelocal11-firstcorpus samplelocal11-firstcorpus-activity_feed samplelocal12-activity_feed samplelocal12-firstcorpus samplelocal12-firstcorpus-activity_feed samplelocal13-activity_feed samplelocal13-firstcorpus samplelocal13-firstcorpus-activity_feed samplelocal14-activity_feed samplelocal14-firstcorpus samplelocal14-firstcorpus-activity_feed samplelocal15-activity_feed samplelocal15-firstcorpus samplelocal15-firstcorpus-activity_feed samplelocal16-activity_feed samplelocal16-firstcorpus samplelocal16-firstcorpus-activity_feed samplelocal16-second samplelocal16-second-activity_feed samplelocal2-activity_feed samplelocal2-firstcorpus samplelocal2-firstcorpus-activity_feed samplelocal22-firstcorpus-activity_feed samplelocal3-activity_feed samplelocal3-firstcorpus samplelocal3-firstcorpus-activity_feed samplelocal4-activity_feed samplelocal4-changepouchgone samplelocal4-changepouchgone-activity_feed samplelocal4-eighteenth samplelocal4-eighteenth-activity_feed samplelocal4-eighthcorpus samplelocal4-eighthcorpus-activity_feed samplelocal4-elevthcorpus samplelocal4-elevthcorpus-activity_feed samplelocal4-fifteenth samplelocal4-fifteenth-activity_feed samplelocal4-fifthcorpus samplelocal4-fifthcorpus-activity_feed samplelocal4-firstcorpus samplelocal4-firstcorpus-activity_feed samplelocal4-fourteenth samplelocal4-fourteenth-activity_feed samplelocal4-nineteen samplelocal4-nineteen-activity_feed samplelocal4-no_change_pouch samplelocal4-no_change_pouch-activity_feed samplelocal4-postauthurlchagnes samplelocal4-postauthurlchagnes-activity_feed samplelocal4-postchromeex samplelocal4-postchromeex-activity_feed samplelocal4-secondcorpus samplelocal4-secondcorpus-activity_feed samplelocal4-seventeenth samplelocal4-seventeenth-activity_feed samplelocal4-seventhcorpus samplelocal4-seventhcorpus-activity_feed samplelocal4-shortertitle samplelocal4-shortertitle-activity_feed samplelocal4-sixteenth samplelocal4-sixteenth-activity_feed samplelocal4-sixthcorpus samplelocal4-sixthcorpus-activity_feed samplelocal4-tenthagainagainagaincorpus samplelocal4-tenthagainagainagaincorpus-activity_feed samplelocal4-tenthcorpus samplelocal4-tenthcorpus-activity_feed samplelocal4-tenthcorpusagainagain samplelocal4-tenthcorpusagainagain-activity_feed samplelocal4-tenthcorpusagainagainagain samplelocal4-tenthcorpusagainagainagain-activity_feed samplelocal4-testing_the__rare_datum_fields_hiding_ samplelocal4-testing_the__rare_datum_fields_hiding_-activity_feed samplelocal4-testuserpublic samplelocal4-testuserpublic-activity_feed samplelocal4-thirdcorpus samplelocal4-thirdcorpus-activity_feed samplelocal4-thirteenth samplelocal4-thirteenth-activity_feed samplelocal4-thirty samplelocal4-thirty-activity_feed samplelocal4-thirtyfour samplelocal4-thirtyfour-activity_feed samplelocal4-thirtyone samplelocal4-thirtyone-activity_feed samplelocal4-thirtythree samplelocal4-thirtythree-activity_feed samplelocal4-thirtytwo samplelocal4-thirtytwo-activity_feed samplelocal4-twelth samplelocal4-twelth-activity_feed samplelocal4-twenty samplelocal4-twenty-activity_feed samplelocal4-twentyeight samplelocal4-twentyeight-activity_feed samplelocal4-twentyfive samplelocal4-twentyfive-activity_feed samplelocal4-twentyfour samplelocal4-twentyfour-activity_feed samplelocal4-twentynine samplelocal4-twentynine-activity_feed samplelocal4-twentyone samplelocal4-twentyone-activity_feed samplelocal4-twentyseven samplelocal4-twentyseven-activity_feed samplelocal4-twentysix samplelocal4-twentysix-activity_feed samplelocal4-twentythree samplelocal4-twentythree-activity_feed samplelocal4-twentytwo samplelocal4-twentytwo-activity_feed samplelocal5-activity_feed samplelocal5-firstcorpus samplelocal5-firstcorpus-activity_feed samplelocal6-activity_feed samplelocal6-firstcorpus samplelocal6-firstcorpus-activity_feed samplelocal8-activity_feed samplelocal8-firstcorpus samplelocal8-firstcorpus-activity_feed samplelocal9-activity_feed samplelocal9-firstcorpus samplelocal9-firstcorpus-activity_feed localsample-activity_feed localsample-firstcorpus localsample-firstcorpus-activity_feed localtheresa-activity_feed localtheresa-firstcorpus localtheresa-firstcorpus-activity_feed new_corpus new_corpus_activity_feed new_user_activity_feed publicuser-activity_feed publicuser-firstcorpus publicuser-firstcorpus-activity_feed tablet-sample_cook-preprod tablet-sample_cook-preprodbackup tabletsample testingclientsideviews-activity_feed testingclientsideviews-firstcorpus testingclientsideviews-firstcorpus-activity_feed testinglocalviews-activity_feed testinglocalviews-arerolesworking testinglocalviews-arerolesworking-activity_feed testinglocalviews-crateandsync testinglocalviews-crateandsync-activity_feed testinglocalviews-firstcorpus testinglocalviews-firstcorpus-activity_feed testinglocalviews-test_roles testinglocalviews-test_roles-activity_feed testinglocalviews-trying_roles_again testinglocalviews-trying_roles_again-activity_feed testingnewblocknoncontrib-activity_feed testingnewblocknoncontrib-firstcorpus testingnewblocknoncontrib-firstcorpus-activity_feed testingnewcorpuslib-activity_feed testingnewcorpuslib-allpermissionsshouldwork testingnewcorpuslib-allpermissionsshouldwork-activity_feed testingnewcorpuslib-empty_corpus testingnewcorpuslib-empty_corpus-activity_feed testingnewcorpuslib-firstcorpus testingnewcorpuslib-firstcorpus-activity_feed testingnewcorpuslib-mustkeepchangepouch testingnewcorpuslib-mustkeepchangepouch-activity_feed testingnewcorpuslib-outsidecallback testingnewcorpuslib-outsidecallback-activity_feed testingnewcorpuslib-test_new_corpus testingnewcorpuslib-test_new_corpus-activity_feed testingnewcorpuslib-testingclearedfields testingnewcorpuslib-testingclearedfields-activity_feed testingnewcorpuslib-testingnewcorpus testingnewcorpuslib-testingnewcorpus-activity_feed testingnewcorpuslib-testnewcorpus testingnewcorpuslib-testnewcorpus-activity_feed testingnoalldata-activity_feed testingnoalldata-firstcorpus testingnoalldata-firstcorpus-activity_feed testingnochangepouch-activity_feed testingnochangepouch-firstcorpus testingnochangepouch-firstcorpus-activity_feed testingpermissions-activity_feed testingpermissions-firstcorpus testingpermissions-firstcorpus-activity_feed testingregisternewusers-activity_feed testingregisternewusers-firstcorpus testingregisternewusers-firstcorpus-activity_feed testingsaveuserpublic-activity_feed testingsaveuserpublic-firstcorpus testingsaveuserpublic-firstcorpus-activity_feed testingvaliationviews-activity_feed testingvaliationviews-firstcorpus testingvaliationviews-firstcorpus-activity_feed testingvalidationviewsagain-activity_feed testingvalidationviewsagain-firstcorpus testingvalidationviewsagain-firstcorpus-activity_feed testingvalidationviewsagainagain-activity_feed testingvalidationviewsagainagain-firstcorpus testingvalidationviewsagainagain-firstcorpus-activity_feed testinspectiondb testuser-activity_feed testuser-firstcorpus testuser-firstcorpus-activity_feed testuserpublicagain-activity_feed testuserpublicagain-firstcorpus testuserpublicagain-firstcorpus-activity_feed tringanotheruser-activity_feed tringanotheruser-firstcorpus tringanotheruser-firstcorpus-activity_feed tryanewuser-activity_feed tryanewuser-firstcorpus tryanewuser-firstcorpus-activity_feed tryingyetanotheruser-activity_feed tryingyetanotheruser-firstcorpus tryingyetanotheruser-firstcorpus-activity_feed "

SERVER=http://admin:none@$localhost:5984
for db in $USERSDATABASES; do
  curl -vkX DELETE $SERVER/$db

done
