Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 31, 2025

Documents the newly added PostgreSQL backend implementation alongside existing SQLite, MySQL, and Redis backends.

Changes

  • docs/source/includes/_backends.md: Added PostgreSQL section with constructor signature, options (WithPostgresOptions, WithApplyMigrations, WithBackendOptions), and schema table descriptions
  • backend/postgres/README.md: Added migration instructions following existing backend pattern
  • README.md, docs/source/index.html.md: Updated backend enumeration to include PostgreSQL
  • .gitignore: Excluded docs build artifacts

Usage

import "github.com/cschleiden/go-workflows/backend/postgres"

b := postgres.NewPostgresBackend("localhost", 5432, "user", "password", "workflows",
    postgres.WithApplyMigrations(true),
    postgres.WithBackendOptions(
        backend.WithLogger(logger),
    ),
)
Original prompt

There is now a new postgres backend. Update the documentation to include a description of this new backend implementation. Follow what's already there for the sqlite and mysql backend.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update documentation to include postgres backend description Add PostgreSQL backend documentation Oct 31, 2025
Copilot AI requested a review from cschleiden October 31, 2025 20:24
@cschleiden cschleiden marked this pull request as ready for review October 31, 2025 20:26
@cschleiden cschleiden merged commit caa8320 into main Oct 31, 2025
5 checks passed
@cschleiden cschleiden deleted the copilot/update-documentation-postgres-backend branch October 31, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants