Can't access web ui due of duplicate field name. How to fix?

Hello all,

I have added a new collection type in the content-type builder. Accidentally I created a duplicate field name. So after I saved this in the web ui, I am getting a “The restart is taking longer than expected” warning, and from the Ubuntu command line I am getting:
[2022-08-18 21:30:49.227] debug: no_entry️ Server wasn’t able to start properly.
[2022-08-18 21:30:49.228] error: create table components_ingredient_ingredients (id integer not null primary key autoincrement) - table components_ingredient_ingredients already exists

I can’t find any documentation on how to fix this without the web UI because that isn’t starting. So how can I do this by the command line, because I can’t start the server due of this error. Any help is appreciated. Thanks.