CareSet / DURC

DURC is reverse CRUD
MIT License
3 stars 2 forks source link

DURC gives strange errors for duplicate table names #72

Open ftrotter opened 4 years ago

ftrotter commented 4 years ago

When DURC is faced with

database_a.this_table and database_b.this_table

It gets confused and just crashes. I made a small modification to at least give hlpful information when it crashes. But generally, when DURC is operating across more than one database, it really does expect to be able to make models with the simple table name... so duplicate table names "breaks the rules".

It would be better if DURC detected this as an error state up-front and simply said "you have to fix this".. instead of crashing...

-FT