Snodo.Extensions.Tasks.Store.Postgres.Migration (snodo_tasks_postgres v0.2.0)

Copy Markdown View Source

Current PostgreSQL migration for Snodo.Extensions.Tasks.Store.Postgres.

A fresh install composes every schema step through version two. Existing version-one installations should run Migration.V2 as a separate application-owned migration. The adapter never runs either path itself, so the application retains control of deployment order, credentials, and rollback policy.

Summary

Functions

Drops the current Tasks schema, including all task data.

Creates the current Tasks schema from an empty database.

Functions

current_version()

@spec current_version() :: pos_integer()

down(opts \\ [])

Drops the current Tasks schema, including all task data.

up(opts \\ [])

Creates the current Tasks schema from an empty database.