Re: [CDBI] add new columns to a table will break exi sting class?
Perrin Harkins <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2006-05-24 at 16:24 +0800, pangaoyong wrote: > If I add more columns to a table, it will break existing class which > already use this table? It will if the new column requires a value and doesn't default one. > my second question is, could I use class::dbi if a table doesn't have > a primary key? No, you must have a primary key. - Perrin