Once you've attached a table to the Table Wizard, you can't detach it. Add this functionality (delete relevant rows from the tw* tables).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | tw-messed_up_table.png | 32.67 KB | frankcarey |
Once you've attached a table to the Table Wizard, you can't detach it. Add this functionality (delete relevant rows from the tw* tables).
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | tw-messed_up_table.png | 32.67 KB | frankcarey |
Comments
Comment #1
vrteach commentedDitto for relationships. I've got a couple that I added before I understood what I was doing. Of course it was easy to empty the tw_relationship table with phpMyAdmin, but it would be harder if I had more to choose from.
This is already a very useful module. Thanks.
Comment #2
mikeryanDone, for both tables and relationships.
Comment #3
frankcarey commentedI thought I made a duplicate issue a few days ago for relationships, but maybe i never submitted it? Anyway, changed name for better accuracy to avoid duplicates.
Comment #4
frankcarey commentedI did a "cvs up" to get the newest version and now the html table is messed up at admin/content/tw, could someone confirm? screenshot attached.
Comment #5
frankcarey commentedThis fixed itself once i either deleted the existing relationships, or created a new one (the relationships table was messed up as well). Everything looks ok now, maybe some cached data?
Comment #6
frankcarey commentedI'm still having an issue here: when I delete a table, i can't re-add it. I think this is because views retains the view for that table, even though it was deleted from admin/tw .... edit: once i clear all caches, the programmatically created views disappear. Cloned ones remain. Once clones are removed, It looks like they can be reused again.
Comment #7
mikeryanVisual issue after update: Yes, I saw that too, a theme function was added for that form and you need to clear the cache for Drupal to notice it.
Deleting tables - looks like I need to flush the caches when removing tables (and relationships as well, I'm sure). Views does not remove user-created views automatically when the tables they depend on are removed, not much to be done about that - I've actually found that handy when developing, I can take out a source table and start over with it without losing views I've created based on it....
Comment #8
mikeryanCommitted flushing of cache on deletion.