Fix migrations error.
This commit is contained in:
parent
3569adfd13
commit
dfe5ec63ff
@ -15,6 +15,6 @@ for num in range(100):
|
|||||||
email = fake.email()
|
email = fake.email()
|
||||||
phone = fake.phone_number()
|
phone = fake.phone_number()
|
||||||
# Save in database
|
# 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.add(mi_contacto)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user