sq diff roadmap and feedback #238
neilotoole
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
sq diff
is a significant new feature. It's currently in beta release. It will probably go through a few iterations before it's finished.Here are some thoughts on roadmap:
Stop-after
Currently
sq diff --data
scans every row in a table, which obviously can get a bit expensive. Many times we only want to know if there's even a single difference, sosq diff
could stop after finding that first difference, or afterN
differences.SQL/DDL output format for
--schema
Currently,
sq diff --schema
always outputs in YAML. It might be useful to be able to diff the SQL DDL, where the DDL might look like:The command might look like
sq diff --schema --format ddl
.Be more like
sqldiff
SQLite has a
sqldiff
utility that has some nifty functionality that it might be possible to integrate intosq
. For example,sqldiff
can generate a changeset as a set ofUPDATE/INSERT
commands, which can then be applied using the sqlite CLI.Beta Was this translation helpful? Give feedback.
All reactions