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 diffis 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 --datascans 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 diffcould stop after finding that first difference, or afterNdifferences.SQL/DDL output format for
--schemaCurrently,
sq diff --schemaalways 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
sqldiffSQLite has a
sqldiffutility that has some nifty functionality that it might be possible to integrate intosq. For example,sqldiffcan generate a changeset as a set ofUPDATE/INSERTcommands, which can then be applied using the sqlite CLI.Beta Was this translation helpful? Give feedback.
All reactions