1dd1b52d3f19beb406c1b94a3733ac22aba89328
So, IdentityValueGenerator's init() was meant only to be called upon table creation, but in r2234 I began calling it in all of a table's generators after every auto-migration. Needless to say this was bloody stupid, and caused MemberRecord's primary key generator to reset in production just now. My fix is not to revert r2234, however, but to explicitly state init()'s expected behaviour: it should certainly not reset a generator if it already exists, but only ensure that it's operational -- creating it only if necessary. We now never reset an IDENTITY generator, ever. The whole point of them is, after all, that they're auto-created by the database.
Description
Languages
Java
95.6%
Shell
4.3%