1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
version: "2" sql: - engine: "mysql" queries: "sql/*.sql" schema: "sql/ddl/mysql.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"