1) I want to let migration add a UNIQUE=true field to a table, which
apparently isn't allowed.  But what does seem to be allowed is having
the field added w/ UNIQUE=false, and after restarting the server (now
that the field exists), having UNIQUE=true.  Is there a way to
accomplish this w/ the restart?

2) Related to the above, is it possible to detect when this field will
be added, so that I can initialize it?  Unfortunately, it has to be
computed, so unless default can be a function that gets called (it
wouldn't need any arguments), I don't see how this could be done.

3) s there a way to tell when a define_table has to actually create
the table, so I can stuff in an initial record?  I suppose I could do
a query after the definition, but then it will get done for every
request.

Thanks in advance,
Scott Hunter

P.S. I'm currently using v1.65.10; if a newer version would help
address any of these, that'd bolster my argument to upgrade!

Reply via email to