Title: verify: Use managed databases · Issue #3416 · sqlc-dev/sqlc · GitHub
Open Graph Title: verify: Use managed databases · Issue #3416 · sqlc-dev/sqlc
X Title: verify: Use managed databases · Issue #3416 · sqlc-dev/sqlc
Description: Once #3415 has landed, the verify command will change to use a managed database instead of a sqlc Cloud hosted database server. Verify will still require that you push your queries to sqlc Cloud. Changing the default behavior When run wi...
Open Graph Description: Once #3415 has landed, the verify command will change to use a managed database instead of a sqlc Cloud hosted database server. Verify will still require that you push your queries to sqlc Cloud. C...
X Description: Once #3415 has landed, the verify command will change to use a managed database instead of a sqlc Cloud hosted database server. Verify will still require that you push your queries to sqlc Cloud. C...
Opengraph URL: https://github.com/sqlc-dev/sqlc/issues/3416
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"verify: Use managed databases","articleBody":"Once https://github.com/sqlc-dev/sqlc/issues/3415 has landed, the `verify` command will change to use a managed database instead of a sqlc Cloud hosted database server. Verify will still require that you [push your queries](https://docs.sqlc.dev/en/latest/howto/verify.html#expected-workflow) to sqlc Cloud.\r\n\r\n## Changing the default behavior\r\n\r\nWhen run without any arguments, `verify` will ensure that the current queries work with the current database schema. Before, verify fetched the latest queries for your project, which is not always what you want to have happen.\r\n\r\n## Rename `against` to `queries-from`\r\n\r\nWhile more of a mouthful, the `against` parameter is confusingly named. sqlc pulls queries from the given branch name to verify against the current schema. `against` makes is sound like the schema is being pulled instead. The `--queries-from` parameter makes the command read correctly in English\r\n\r\n```sh\r\n$ sqlc verify --queries-from main\r\n```","author":{"url":"https://github.com/kyleconroy","@type":"Person","name":"kyleconroy"},"datePublished":"2024-06-05T00:32:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/3416/sqlc/issues/3416"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f653936a-e758-4490-9dc6-c79935ee5f3c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 857C:F83CB:ECD73C:13B3E7F:6A51B6B8 |
| html-safe-nonce | 5511efd465e7a4aaa54228b78fc767230420c607c98687e191cbdec5c7247b4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTdDOkY4M0NCOkVDRDczQzoxM0IzRTdGOjZBNTFCNkI4IiwidmlzaXRvcl9pZCI6IjQ1NzkxNDA2ODk2NTExMTQ4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3b8219ad47fa4073e20c7a67fad2113ce47cddc2c24e26e05e5c42afb79aabe3 |
| hovercard-subject-tag | issue:2334615496 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlc-dev/sqlc/3416/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b638d87486c4822325751c47be5de19ca86c50e62ca8fdf4e507991b78c72f89/sqlc-dev/sqlc/issues/3416 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b638d87486c4822325751c47be5de19ca86c50e62ca8fdf4e507991b78c72f89/sqlc-dev/sqlc/issues/3416 |
| og:image:alt | Once #3415 has landed, the verify command will change to use a managed database instead of a sqlc Cloud hosted database server. Verify will still require that you push your queries to sqlc Cloud. C... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kyleconroy |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width