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:
@@ -20,7 +20,7 @@ Creates users table if it does not exist.
|
||||
Returns:
|
||||
error: Returns if there is an error with table creation
|
||||
*/
|
||||
func CreateTableUsers(db pg.DB) error {
|
||||
func CreateTableUsers(db *pg.Tx) error {
|
||||
models := []interface{}{
|
||||
(*model.User)(nil),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user