You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
767 B

1 year ago
  1. version: "1"
  2. packages:
  3. - name: "mysqlgen"
  4. path: "./services/mysqldb/mysqlgen"
  5. queries: "./services/mysqldb/queries"
  6. schema: "./services/mysqldb/migrations"
  7. engine: "mysql"
  8. emit_prepared_queries: true
  9. emit_interface: false
  10. emit_exact_table_names: false
  11. emit_empty_slices: true
  12. emit_json_tags: false
  13. overrides:
  14. - go_type: "git.aiterp.net/lucifer3/server/services/mysqldb/sqltypes.NullRawMessage"
  15. db_type: "json"
  16. nullable: true
  17. - go_type: "float64"
  18. db_type: "float"
  19. - go_type: "float64"
  20. db_type: "float"
  21. nullable: true
  22. - go_type: "int"
  23. db_type: "int"
  24. - go_type: "github.com/google/uuid.UUID"
  25. db_type: "char"
  26. - go_type: "github.com/google/uuid.NullUUID"
  27. db_type: "char"
  28. nullable: true