Skip to content

Commit 7adb9fc

Browse files
committed
add README.md
1 parent 5a9f0a1 commit 7adb9fc

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# sqldef.github.io
2+
3+
Website and WebAssembly build of [sqldef](https://github.com/sqldef/sqldef) - an idempotent schema management tool for MySQL, PostgreSQL, SQLite3, and SQL Server.
4+
5+
## What is this?
6+
7+
This repository contains:
8+
- A WASM build of sqldef's DDL diff functionality
9+
- A web demo at https://sqldef.github.io/
10+
11+
## How it works
12+
13+
The Go source (`sqldef-wasm.go`) compiles to WebAssembly and exposes a `diff` function that compares two SQL schemas and generates migration DDLs.
14+
15+
## Development
16+
17+
```sh
18+
# Build the WASM file
19+
make sqldef.wasm
20+
21+
# Start local dev server at http://localhost:6543
22+
make dev
23+
24+
# Update Go dependencies
25+
make update
26+
27+
# Format and lint
28+
make format
29+
make lint
30+
```
31+
32+
## License
33+
34+
MIT
35+
36+
Copyright (c) sqldef team

0 commit comments

Comments
 (0)