[Dbix-class] Column renaming.

Bill Moseley moseley at hank.org
Sun Apr 21 16:55:53 GMT 2013


I have a column in a table that is going to be renamed from "foo" to "bar".
 I know I can use the "accessor" attribute, but there's other usage such as
$obj->update( { foo =3D> 'new' } ), and also ->create and the column is used
in joins   ( { 'other.foo' =3D> 'new' } ).

Is there any other option besides a big search and replace and hope tests
catch all usage?


Thanks,

-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20130421/519=
b18c2/attachment.htm


More information about the DBIx-Class mailing list