fix migration

This commit is contained in:
Fran Jurmanović
2023-04-13 14:35:36 +02:00
parent e1f9de58cd
commit 062bb74221
21 changed files with 80 additions and 87 deletions

View File

@@ -19,7 +19,7 @@ Creates subscriptions table if it does not exist.
Returns:
error: Returns if there is an error with table creation
*/
func CreateTableSubscriptions(db pg.DB) error {
func CreateTableSubscriptions(db *pg.Tx) error {
models := []interface{}{
(*model.Subscription)(nil),
}