# Functions
InitContext initializes DB connection by the given config.
New instantiates a DB.
RunMigrationsUp runs migrate-up for the given config.
# Variables
ErrStateNotSynchronized indicates the state database may be empty.
# Interfaces
DB defines functions that a DB instance should implement.