diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-02-22 22:59:53 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2024-02-22 23:15:41 +0100 |
commit | cd1a6cbd06d3b75adf708fcd2a7974bf94452248 (patch) | |
tree | e41f7bb1cbda499837943fcb5eedfa0f61b2adff /sqlc.yaml | |
parent | 9a97638e0ddd7fbc135c63d7e9055529313ddb3c (diff) | |
download | gosten-cd1a6cbd06d3b75adf708fcd2a7974bf94452248.tar.gz gosten-cd1a6cbd06d3b75adf708fcd2a7974bf94452248.tar.bz2 gosten-cd1a6cbd06d3b75adf708fcd2a7974bf94452248.zip |
Switch from mysql to postgres
Diffstat (limited to '')
-rw-r--r-- | sqlc.yaml | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,15 +1,10 @@ version: "2" sql: - - engine: "mysql" + - engine: "postgresql" queries: "sql/*.sql" - schema: "sql/ddl/mysql.sql" + schema: "sql/ddl/pgsql.sql" gen: go: out: "model" emit_sql_as_comment: true - overrides: - - db_type: "year" - go_type: "uint16" - - db_type: "tinyint" - unsigned: true - go_type: "uint8"
\ No newline at end of file + sql_package: "pgx/v5"
\ No newline at end of file |