sqldef.github.io

command module
v0.0.0-...-0e443c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 7 Imported by: 0

README

sqldef.github.io

Website and WebAssembly build of sqldef - an idempotent schema management tool for MySQL, PostgreSQL, SQLite3, and SQL Server.

What is this?

This repository contains:

How it works

The Go source (sqldef-wasm.go) compiles to WebAssembly and exposes a diff function that compares two SQL schemas and generates migration DDLs.

Development

Prerequisites

Install TinyGo:

brew tap tinygo-org/tools && brew install tinygo
Build
# Build the WASM file
make build

# Start local dev server at http://localhost:6543
make dev

# Update Go dependencies
make deps

# Format and lint
make format
make lint

License

MIT

Copyright (c) sqldef team

Documentation

Rendered for js/wasm

Overview

This is a light wasm wrapper around just the DDL conversion stuff

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL