Zet - How do you find db issues in drains?

How do you find db issues in drains?

Run in server/

prove -lvr db_checks/00-check-sequences.t

You will get back any db changes you may need to make.

Also check the version using this from server dir

script/drain_dbic_migration.pl status

and upgrade if needed

script/drain_dbic_migration.pl upgrade

#drains