Terrific. Thanks you guys! I'll probably do the additional base
class. I had no idea you could autogenerate into modified classes too
which I'll have to try for another project. Best of both worlds.
–Ashley
--
On Jul 4, 2007, at 7:42 AM, Brandon Black wrote:
On 7/3/07, apv <[EMAIL PROTEC
On Wed, Jul 04, 2007 at 03:41:28PM +0100, Jess Robinson wrote:
> Perversely, I thought mysql didnt like defaults that were functions? (thus
> the silly timestamp type thing)
You're right. It works for TIMESTAMP columns but not DATETIME. Of course,
TIMESTAMP columns default to NOW() anyway!
Oh
On 7/3/07, apv <[EMAIL PROTECTED]> wrote:
I never got around to trying Schema::Loader till now. It's terrific.
I swapped out 10 table classes or whatever with one and it works
exactly as it should.
The thing I want to still be able to do is apply a method to all the
table classes, specifically a
On Wed, 4 Jul 2007, Hans Dieter Pearcey wrote:
On Wed, Jul 04, 2007 at 01:11:01PM +0100, Jess Robinson wrote:
Is there a way to get that in all the auto-generated table classes without
voodoo? With? Better idea?
Why not use a field type of TIMESTAMP, which in older mysqls (and in new
ones i
On Wed, Jul 04, 2007 at 01:11:01PM +0100, Jess Robinson wrote:
> >Is there a way to get that in all the auto-generated table classes without
> >voodoo? With? Better idea?
> >
>
> Why not use a field type of TIMESTAMP, which in older mysqls (and in new
> ones if you hit the right config buttons),
On Tue, 3 Jul 2007, apv wrote:
I never got around to trying Schema::Loader till now. It's terrific. I
swapped out 10 table classes or whatever with one and it works exactly as it
should.
The thing I want to still be able to do is apply a method to all the table
classes, specifically a creat
I never got around to trying Schema::Loader till now. It's terrific.
I swapped out 10 table classes or whatever with one and it works
exactly as it should.
The thing I want to still be able to do is apply a method to all the
table classes, specifically a created field stamp of NOW(). I'm on