The issue is with the db table creation around line 160 where it uses the “cols” list from “instance.columns”.
On that point I have another couple of issues.
I think…
PRIMARY KEY (id)
…should be changed to…
PRIMARY KEY (#listgetAt(cols,1)#)
…and I have an issue with …
#listgetAt(cols,4)# DATETIME NOT NULL,
…as I’m on Oracle and it doesn’t have DATETIME as a date datatype only TIMESTAMP so I’m guessing there needs to be conditional test on the db type to determine if to use DATETIME or TIMESTAMP.
If my understanding is right, do you want me to code something up for you to consider?
Yes definitely Richard, I see this now. Also, maybe the coldbox.system.cache.store.JDBCStore can guide you as it has all the different things for other DB’s. This could be a good addition for a patch release.