sqlc.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "version": "1",
  3. "cloud": {
  4. "project": "01HAQMMECEYQYKFJN8MP16QC41"
  5. },
  6. "packages": [
  7. {
  8. "name": "booktest",
  9. "path": "postgresql",
  10. "schema": "postgresql/schema.sql",
  11. "queries": "postgresql/query.sql",
  12. "engine": "postgresql",
  13. "sql_package": "pgx/v5",
  14. "database": {
  15. "uri": "${VET_TEST_EXAMPLES_POSTGRES_BOOKTEST}"
  16. },
  17. "analyzer": {
  18. "database": false
  19. },
  20. "rules": [
  21. "sqlc/db-prepare"
  22. ]
  23. },
  24. {
  25. "name": "booktest",
  26. "path": "mysql",
  27. "schema": "mysql/schema.sql",
  28. "queries": "mysql/query.sql",
  29. "engine": "mysql",
  30. "database": {
  31. "uri": "${VET_TEST_EXAMPLES_MYSQL_BOOKTEST}"
  32. },
  33. "rules": [
  34. "sqlc/db-prepare"
  35. ]
  36. },
  37. {
  38. "name": "booktest",
  39. "path": "sqlite",
  40. "schema": "sqlite/schema.sql",
  41. "queries": "sqlite/query.sql",
  42. "engine": "sqlite",
  43. "database": {
  44. "uri": "file:booktest?mode=memory&cache=shared"
  45. },
  46. "rules": [
  47. "sqlc/db-prepare"
  48. ]
  49. }
  50. ]
  51. }