-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add inspect report
subcommand and embed queries as SQL scripts
#2246
Conversation
Pull Request Test Coverage Report for Build 8985859965Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
LGTM but still needs review from CLI team 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a reports command is nice. Apart from those review comments, another suggestion is to wrap all queries in a transaction so they are measuring the same state of the db.
Co-authored-by: Han Qiao <sweatybridge@gmail.com>
This is certainly possible, although the current state is not time critical in my mind. The report is useful for insights and debugging but not realtime insights. It could be useful to remove more time-sensitive queries (like |
Bumps [tar](https://github.com/isaacs/node-tar) from 7.0.1 to 7.1.0. - [Release notes](https://github.com/isaacs/node-tar/releases) - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v7.0.1...v7.1.0) --- updated-dependencies: - dependency-name: tar dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…58.0 (#2241) chore(deps): bump github.com/golangci/golangci-lint Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.57.2 to 1.58.0. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.57.2...v1.58.0) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.19.0 to 0.20.0. - [Commits](golang/term@v0.19.0...v0.20.0) --- updated-dependencies: - dependency-name: golang.org/x/term dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.19.0 to 0.20.0. - [Commits](golang/oauth2@v0.19.0...v0.20.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.1 to 1.10.0. - [Release notes](https://github.com/gin-gonic/gin/releases) - [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md) - [Commits](gin-gonic/gin@v1.9.1...v1.10.0) --- updated-dependencies: - dependency-name: github.com/gin-gonic/gin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v5...v6) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: clean up db pull implementation * chore: update unit tests
…58.1 (#2256) chore(deps): bump github.com/golangci/golangci-lint Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.58.0 to 1.58.1. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.58.0...v1.58.1) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
….26.2 (#2257) chore(deps): bump github.com/charmbracelet/bubbletea Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 0.26.1 to 0.26.2. - [Release notes](https://github.com/charmbracelet/bubbletea/releases) - [Commits](charmbracelet/bubbletea@v0.26.1...v0.26.2) --- updated-dependencies: - dependency-name: github.com/charmbracelet/bubbletea dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…6.1.2+incompatible (#2261) chore(deps): bump github.com/docker/cli Bumps [github.com/docker/cli](https://github.com/docker/cli) from 26.1.1+incompatible to 26.1.2+incompatible. - [Commits](docker/cli@v26.1.1...v26.1.2) --- updated-dependencies: - dependency-name: github.com/docker/cli dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2262) Bumps [github.com/containers/common](https://github.com/containers/common) from 0.58.2 to 0.58.3. - [Release notes](https://github.com/containers/common/releases) - [Commits](containers/common@v0.58.2...v0.58.3) --- updated-dependencies: - dependency-name: github.com/containers/common dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…o 26.1.2+incompatible (#2263) chore(deps): bump github.com/docker/docker Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.1.1+incompatible to 26.1.2+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](moby/moby@v26.1.1...v26.1.2) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Failing only on tests about table sizes and record counts, oddly. |
inspect db report
subcommand and embed queries as SQL scriptsinspect report
subcommand and embed queries as SQL scripts
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br />![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) <h3>Snyk has created this PR to upgrade supabase from 1.167.6 to 1.169.1.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **5 versions** ahead of your current version. - The recommended version was released on **21 days ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>supabase</b></summary> <ul> <li> <b>1.169.1</b> - <a href="https://github.com/supabase/cli/releases/tag/v1.169.1">2024-05-23</a></br><h2>Changelog</h2> <h3>Bug fixes</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/dbcd8b26c6097fef1480928224556f52e200a240/hovercard" href="https://github.com/supabase/cli/commit/dbcd8b26c6097fef1480928224556f52e200a240"><tt>dbcd8b2</tt></a>: fix: bump edge-runtime to 1.53.1 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2309362904" data-permission-text="Title is private" data-url="supabase/cli#2307" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2307/hovercard" href="https://github.com/supabase/cli/pull/2307">#2307</a>) (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nyannyacha/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nyannyacha">@ nyannyacha</a>)</li> </ul> </li> <li> <b>1.169.0</b> - <a href="https://github.com/supabase/cli/releases/tag/v1.169.0">2024-05-21</a></br><h2>Changelog</h2> <h3>Features</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/ee621c5990cf6c1791b384891f13810a616a34cc/hovercard" href="https://github.com/supabase/cli/commit/ee621c5990cf6c1791b384891f13810a616a34cc"><tt>ee621c5</tt></a>: feat: add <code>inspect report</code> subcommand and embed queries as SQL scripts (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2281074005" data-permission-text="Title is private" data-url="supabase/cli#2246" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2246/hovercard" href="https://github.com/supabase/cli/pull/2246">#2246</a>) (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/encima/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/encima">@ encima</a>)</li> </ul> <h3>Others</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/91cc4aa046b7b605a4270dc6d661c67a9961617f/hovercard" href="https://github.com/supabase/cli/commit/91cc4aa046b7b605a4270dc6d661c67a9961617f"><tt>91cc4aa</tt></a>: chore(deps): bump github.com/golangci/golangci-lint from 1.58.1 to 1.58.2 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2305063242" data-permission-text="Title is private" data-url="supabase/cli#2304" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2304/hovercard" href="https://github.com/supabase/cli/pull/2304">#2304</a>) (<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@ dependabot</a>[bot])</li> </ul> </li> <li> <b>1.168.1</b> - <a href="https://github.com/supabase/cli/releases/tag/v1.168.1">2024-05-18</a></br><h2>Changelog</h2> <h3>Bug fixes</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/21694681426beec30f32a11ad0e0f0a539ee9626/hovercard" href="https://github.com/supabase/cli/commit/21694681426beec30f32a11ad0e0f0a539ee9626"><tt>2169468</tt></a>: fix(db): handle fdw and pgtle extension (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2304171376" data-permission-text="Title is private" data-url="supabase/cli#2303" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2303/hovercard" href="https://github.com/supabase/cli/pull/2303">#2303</a>) (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> </ul> </li> <li> <b>1.168.0</b> - <a href="https://github.com/supabase/cli/releases/tag/v1.168.0">2024-05-18</a></br><h2>Changelog</h2> <h3>Features</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/32aec71910270b46f25d44d2dd5b43c685039c80/hovercard" href="https://github.com/supabase/cli/commit/32aec71910270b46f25d44d2dd5b43c685039c80"><tt>32aec71</tt></a>: feat: implement and test release version check (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/820f864784c7fcdcee47a681977ac699c754ef23/hovercard" href="https://github.com/supabase/cli/commit/820f864784c7fcdcee47a681977ac699c754ef23"><tt>820f864</tt></a>: feat: suggest upgrade when cli version is outdated (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> </ul> <h3>Others</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/82fa2601b50109ce1eed33ce23ce93ae7c84f184/hovercard" href="https://github.com/supabase/cli/commit/82fa2601b50109ce1eed33ce23ce93ae7c84f184"><tt>82fa260</tt></a>: chore: upgrade github client library (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/6bd6d7fcef40f6f40f77fff56801c2bf39d21dd4/hovercard" href="https://github.com/supabase/cli/commit/6bd6d7fcef40f6f40f77fff56801c2bf39d21dd4"><tt>6bd6d7f</tt></a>: chore: check upgrade after every successful command (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/0f07ae67548a047555c0286d3e55336b4b2d6f48/hovercard" href="https://github.com/supabase/cli/commit/0f07ae67548a047555c0286d3e55336b4b2d6f48"><tt>0f07ae6</tt></a>: chore: use warning color for suggestions (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/09f751a427e21b4e5eeca723d1f5f567360acc15/hovercard" href="https://github.com/supabase/cli/commit/09f751a427e21b4e5eeca723d1f5f567360acc15"><tt>09f751a</tt></a>: chore: improve upgrade suggestion (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> </ul> </li> <li> <b>1.167.7</b> - <a href="https://github.com/supabase/cli/releases/tag/v1.167.7">2024-05-18</a></br><h2>Changelog</h2> <h3>Bug fixes</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/ee69c7d2a832d984a68be2042bf2f49426114599/hovercard" href="https://github.com/supabase/cli/commit/ee69c7d2a832d984a68be2042bf2f49426114599"><tt>ee69c7d</tt></a>: fix(db): escape upper case table names for dump (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2304050533" data-permission-text="Title is private" data-url="supabase/cli#2302" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2302/hovercard" href="https://github.com/supabase/cli/pull/2302">#2302</a>) (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> </ul> <h3>Others</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/c9691d720ed6d5633973ad887233555243b21a6f/hovercard" href="https://github.com/supabase/cli/commit/c9691d720ed6d5633973ad887233555243b21a6f"><tt>c9691d7</tt></a>: chore(deps): bump github.com/slack-go/slack from 0.12.5 to 0.13.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2301815392" data-permission-text="Title is private" data-url="supabase/cli#2298" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2298/hovercard" href="https://github.com/supabase/cli/pull/2298">#2298</a>) (<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@ dependabot</a>[bot])</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/8507340b4a8352bee49578b48a421edff8afdf06/hovercard" href="https://github.com/supabase/cli/commit/8507340b4a8352bee49578b48a421edff8afdf06"><tt>8507340</tt></a>: chore(deps): bump github.com/docker/docker from 26.1.2+incompatible to 26.1.3+incompatible (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2301815815" data-permission-text="Title is private" data-url="supabase/cli#2300" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2300/hovercard" href="https://github.com/supabase/cli/pull/2300">#2300</a>) (<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@ dependabot</a>[bot])</li> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/8867b96b824c017399eac60793d48b4d60c458c4/hovercard" href="https://github.com/supabase/cli/commit/8867b96b824c017399eac60793d48b4d60c458c4"><tt>8867b96</tt></a>: chore(deps): bump github.com/matoous/go-nanoid/v2 from 2.0.0 to 2.1.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2301815980" data-permission-text="Title is private" data-url="supabase/cli#2301" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2301/hovercard" href="https://github.com/supabase/cli/pull/2301">#2301</a>) (<a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot">@ dependabot</a>[bot])</li> </ul> </li> <li> <b>1.167.6</b> - <a href="https://github.com/supabase/cli/releases/tag/v1.167.6">2024-05-16</a></br><h2>Changelog</h2> <h3>Bug fixes</h3> <ul> <li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/supabase/cli/commit/ed2b60d8a80587ddc8024986cb60b97f1ad77b4c/hovercard" href="https://github.com/supabase/cli/commit/ed2b60d8a80587ddc8024986cb60b97f1ad77b4c"><tt>ed2b60d</tt></a>: fix: update auth version to 2.151.0 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2299576119" data-permission-text="Title is private" data-url="supabase/cli#2296" data-hovercard-type="pull_request" data-hovercard-url="/supabase/cli/pull/2296/hovercard" href="https://github.com/supabase/cli/pull/2296">#2296</a>) (<a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sweatybridge/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sweatybridge">@ sweatybridge</a>)</li> </ul> </li> </ul> from <a href="https://github.com/supabase/cli/releases">supabase GitHub release notes</a> </details> </details> --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs._ **For more information:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5NGRlZWQ4ZC00MDhmLTQ4NjMtYThjNS0wNTE5ZGViNWEzM2YiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijk0ZGVlZDhkLTQwOGYtNDg2My1hOGM1LTA1MTlkZWI1YTMzZiJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/josetutis/project/3c402998-992a-4249-ae7b-830abf69abcf?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/josetutis/project/3c402998-992a-4249-ae7b-830abf69abcf/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/josetutis/project/3c402998-992a-4249-ae7b-830abf69abcf/settings/integration?pkg=supabase&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"supabase","from":"1.167.6","to":"1.169.1"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"94deed8d-408f-4863-a8c5-0519deb5a33f","prPublicId":"94deed8d-408f-4863-a8c5-0519deb5a33f","packageManager":"npm","priorityScoreList":[],"projectPublicId":"3c402998-992a-4249-ae7b-830abf69abcf","projectUrl":"https://app.snyk.io/org/josetutis/project/3c402998-992a-4249-ae7b-830abf69abcf?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2024-05-23T02:31:38.357Z"},"vulns":[]}) --->
What kind of change does this PR introduce?
Chore: split queries out into embedded SQL scripts
Feature: add an
inspect db report
subcommand that runs all queries and saves their output to CSV files in the current directoryWhat is the current behavior?
Queries currently stored inside a go submodule
What is the new behavior?
Embedded SQL scripts and report subcommand for
inspect
that runs all queries and saves their output to the current directory as CSV filesAdditional context
Add any other context or screenshots.