This is a minor "bug" if you can call it that, but it
would be nice if you could clone a dbtable to another
type, and still have it keep it's structure, (but not
the elements).
Have it create another table under the new base name,
and then copy each field over (regexping out the table
name convention for the other). Thoughts?
Can you see any problems with doing this? Right now
the clone function on dbtable is fairly useless.
Logged In: YES
user_id=89398
Hello Jay,
Old bug I know. But still, it's up here.
The problem is that you want to clone a dbtable to a type.
A dbtable has fields another type might not. dbtables only
purpose seem to be to support nodetypes. Therefore cloning
a dbtable will, in effect, create a new nodetype, which in
itself would create another dbtable.
So, 'cloning' a dbtable will be the same as creating a new
nodetype. It's sort of a short cut to creating a new nodetype.
My thoughts are that this is a bit complicated and if people
want to duplicate dbtables and create nodetypes then they
can do those two steps seperately.