How to change a database column name after code implemented

This is for discussion, mainly on 1.x but there's some 2.x topics here too.

Moderators: dwhittle, Ian

How to change a database column name after code implemented

Postby nwbrd » Thu Jun 14, 2012 10:04 am

Hi All,

I am trying to upgrade my symfony project from version 1.1 to 1.2.
While I am running the command $ symfony propel:build-model, it says my one of the table has a column name 'exception' which is a PHP reserved word. Now the challenge is how to change the column name to something else so less code change is needed. I would appreciate any help for this.

Regards,
Nwbrd.
nwbrd
Junior Member
 
Posts: 8
Joined: Mon Jun 11, 2012 4:03 pm

Return to General discussion

Who is online

Users browsing this forum: No registered users and 3 guests