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
28 lines
767 B
version: "1"
|
|
packages:
|
|
- name: "mysqlgen"
|
|
path: "./services/mysqldb/mysqlgen"
|
|
queries: "./services/mysqldb/queries"
|
|
schema: "./services/mysqldb/migrations"
|
|
engine: "mysql"
|
|
emit_prepared_queries: true
|
|
emit_interface: false
|
|
emit_exact_table_names: false
|
|
emit_empty_slices: true
|
|
emit_json_tags: false
|
|
overrides:
|
|
- go_type: "git.aiterp.net/lucifer3/server/services/mysqldb/sqltypes.NullRawMessage"
|
|
db_type: "json"
|
|
nullable: true
|
|
- go_type: "float64"
|
|
db_type: "float"
|
|
- go_type: "float64"
|
|
db_type: "float"
|
|
nullable: true
|
|
- go_type: "int"
|
|
db_type: "int"
|
|
- go_type: "github.com/google/uuid.UUID"
|
|
db_type: "char"
|
|
- go_type: "github.com/google/uuid.NullUUID"
|
|
db_type: "char"
|
|
nullable: true
|