mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
fix migration
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user