diff --git a/migrations.py b/migrations.py index f9beb6e..b9e913e 100644 --- a/migrations.py +++ b/migrations.py @@ -15,6 +15,6 @@ for num in range(100): email = fake.email() phone = fake.phone_number() # Save in database - mi_contacto = Contact(name, surname, email, phone) + mi_contacto = Contact(name=name, surname=surname, email=email, phone=phone) db.session.add(mi_contacto) db.session.commit()