mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-11-11 07:41:10 +00:00
fix migration
This commit is contained in:
@@ -20,7 +20,7 @@ Creates wallets table if it does not exist.
|
||||
Returns:
|
||||
error: Returns if there is an error with table creation
|
||||
*/
|
||||
func CreateTableWallets(db pg.DB) error {
|
||||
func CreateTableWallets(db *pg.Tx) error {
|
||||
models := []interface{}{
|
||||
(*model.Wallet)(nil),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user