Hey guys aim trying to run a migration, and I dont...
# orm-help
j
Hey guys aim trying to run a migration, and I dont want to give this column any value, any help??
a
@Jos you have one record in your table and not have this field so migration asking what will happen to this record if you don’t give it a default value My solution to make this table empty prisma.bus.deleteMany()
j
Thanks
I seem to be getting a migration engine failure now
a
What is the error?
r
Jos 👋 Could you share what steps did you follow and what was the error you faced?
h
Yea, the code of the migration would help along with the error. Also, it looks like you're running a CLI only operating system, so you may want to send that file to a computer that will allow you to copy/paste into the browser... but whatever works for you as long as you can give us some more info to help you with.
j
I just dropped my tables, and started migrations a fresh. Everything seems to be working fine now. Thanks guys
💯 1