xsql

Convert SQL schema DDL between dialects (currently focused on CREATE TABLE ...) via a small intermediate representation.

What it does (today)

  • Parses schema DDL from:

  • MySQL

  • PostgreSQL

  • SQLite

  • Emits schema DDL to:

  • MySQL

  • PostgreSQL

  • SQLite

  • Converts:

  • a single .sql file → another .sql file

  • a whole folder tree of .sql files → a destination folder (preserves relative paths)

  • Includes an interactive TUI (xsql tui).

Quickstart

Install and run quickly (recommended):

# one-line install (clones, builds, installs to $HOME/.cargo/bin)
curl -fsSL https://raw.githubusercontent.com/Dawaman43/xsql/main/install.sh | sh

# then run the tool
xsql --help

Build from source

If you prefer to build locally:

cargo build --release...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help