Open stevleibelt opened 10 years ago
Do you need model for that one? You can simply exclude this table from generator.
Also - what is the problem with adding primary key? Your queries (in 99%) won't break if you do so.
Hey @fliespl
yes, the models are needed/at least would be nice to have.
Yes, you can add the primary key but as you mention, this is not bullet proof. I would not go this way because I don't want to be the one who has the joy to debug this one percent.
Using following schema.xml
I get some kind of the following error when executing the generation.
Adding a primary key to the column in the schema end everything is working as expected.
Bad thing about the fact, all I can and must do is using the database. But I can not simple add a primary key to the table. Any ideas?