diff --git a/internal/howmuch/controller/repo/sqlc/db.go b/internal/howmuch/adapter/repo/sqlc/db.go similarity index 100% rename from internal/howmuch/controller/repo/sqlc/db.go rename to internal/howmuch/adapter/repo/sqlc/db.go diff --git a/internal/howmuch/controller/repo/sqlc/models.go b/internal/howmuch/adapter/repo/sqlc/models.go similarity index 100% rename from internal/howmuch/controller/repo/sqlc/models.go rename to internal/howmuch/adapter/repo/sqlc/models.go diff --git a/internal/howmuch/controller/repo/sqlc/user.sql.go b/internal/howmuch/adapter/repo/sqlc/user.sql.go similarity index 100% rename from internal/howmuch/controller/repo/sqlc/user.sql.go rename to internal/howmuch/adapter/repo/sqlc/user.sql.go diff --git a/sqlc.yml b/sqlc.yml index 5b24f84..a512ce5 100644 --- a/sqlc.yml +++ b/sqlc.yml @@ -23,9 +23,9 @@ version: "2" sql: - engine: "postgresql" - queries: "internal/app/adapter/repo/sqlc" + queries: "internal/howmuch/adapter/repo/sqlc" schema: "migrations" gen: go: - out: "internal/app/controller/repo/sqlc" + out: "internal/howmuch/adapter/repo/sqlc" sql_package: "pgx/v5"