Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Query-Doctor/local-sync

Repository files navigation

Sync

A tool for dumping the schema of a database with minimal permissions. Used at https://app.querydoctor.com to keep user databases in sync with the local pglite instance

You can play around with a hosted version of this tool https://sync.querydoctor.com/postgres/all?db=postgres://user:password@host:port/database

Setup

This runs a deno server on port 2345.

Or if you're a docker type of fella:

  • docker run -t -p 2345:2345 ghcr.io/query-doctor/sync:latest

API

OpenAPI spec coming later.

POST /postgres/all

{
 "db": "postgres://user:password@host:port/database",
 "schema": "public",
 "maxRows": 15,
 "requiredRows": 5,
 "seed": 0
}

Right now only public schema is supported

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /