# Functions

NewPostgresComponent generates a PostgresConfigComponent.
NewSchemaManager generates a SchemaManager component based on settings.

# Constants

DualWritesSchemaVersion Lowest version of database schema that supports dual-writes (legacy and M1).
EmptySchemaVersion Version of database schema that cleans the database completely.
M1SchemaVersion Version of database schema with performance optimizations (M1) that allows back-fill to work.
MinimumSchemaVersion Lowest version of database schema current code is able to handle.
NewSchemaOnlyVersion Lowest version that stops dual-writes in preparation to drop old schema.
Database Connection types.
ReadsFromNewSchemaVersion Lowest version of database schema that supports reads from M1 schema.
Database Connection types.

# Structs

DB represents a convenient database abstraction layer.
PostgresConfig contains the Postgres database configuration arguments.
PostgresConfigComponent satisfies the settings library Component API, and may be used by the settings.NewComponent function.
SchemaManager is an abstraction layer for manipulating database schema backed by golang/migrate.