You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project, I have multiple entities for my database and each of them has its own series of queries:
Also, all of them are using the same set of migrations since as I know, sqlc doesn't support migrating my database and is just generating queries, Therefor I need these migrations to be in the same place so I can manage them using another package (to be more precise, this package).
But the problem is that when I place the migrations in one place, a few are duplicated when trying to generate files. More formally, models.go and db.go files are duplicated and have same contents. Is there any solution to overcome this behavior?
Version
1.15.0
What happened?
In my project, I have multiple entities for my database and each of them has its own series of queries:
![image](https://user-images.githubusercontent.com/73794293/218732761-438500f7-9ec9-469c-87cb-5964d425412e.png)
Also, all of them are using the same set of migrations since as I know, sqlc doesn't support migrating my database and is just generating queries, Therefor I need these migrations to be in the same place so I can manage them using another package (to be more precise, this package).
But the problem is that when I place the migrations in one place, a few are duplicated when trying to generate files. More formally,
models.go
anddb.go
files are duplicated and have same contents. Is there any solution to overcome this behavior?Thanks in advance
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: