cidb: add a cidb_admin tool for database administration

This CL adds a simple command line tool for applying migrations to a
cidb instance, or wiping a cidb instants.

TEST=Ran script in both migrate and wipe modes against test database
instance, under a variety of situations, both with and without correctly
entering confirmation string.

Change-Id: Ie825d771255b6691e748bbcdc2964180c9b1499e
Tested-by: Aviv Keshet <>
Reviewed-by: David James <>
Commit-Queue: Aviv Keshet <>
2 files changed