in reply to Re: Class::DBI::Loader misbehaves (can't find a primary key)
in thread Class::DBI::Loader misbehaves (can't find a primary key)
No, I hadn't. I'd actually have to set up MySQL on my development machine and get it running! Also, the schema would have to be modified to use auto_increment instead of the SERIAL types I use for PostgreSQL.
See the first part of my post. I put the Perl code up as well as the definition for the location table. The person table (the one I was actually intersted in populating in this case) couldn't be a simpler table.
create table person ( person_id SERIAL not null primary key, given_name text not null, surname text not null, email_addr text not null default 'no@email.net' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Class::DBI::Loader misbehaves (can't find a primary key)
by Melly (Chaplain) on Oct 17, 2006 at 08:37 UTC |