Hello all,
I am writing a plugin that requires a table to be added. I can create a table fine in my install script except that I can't make one with an auto increment on the primary key. I can't find documentation in the GT::SQL::Creator section saying how to do it.
Does anyone know?
Also I want to add a unique constraint to a column. It says that GT::SQL::Creator::unique takes the same args as GT::SQL::Creator::index but I can't get the unique constraint to work either.
Can anyone help me?
Thanks,
Tommy
I am writing a plugin that requires a table to be added. I can create a table fine in my install script except that I can't make one with an auto increment on the primary key. I can't find documentation in the GT::SQL::Creator section saying how to do it.
Does anyone know?
Also I want to add a unique constraint to a column. It says that GT::SQL::Creator::unique takes the same args as GT::SQL::Creator::index but I can't get the unique constraint to work either.
Can anyone help me?
Thanks,
Tommy