I'm attempting to use the sfDoctrineGuardPlugin in my Symfony 1.4 project. This plugin includes a schema.yml file, which is used to define all the tables involved. The table names take on the form of: sf_guard_user, sf_guard_user_group, sf_guard_user_permission, etc. I'd rather have these tables be named: users, user_groups, user_permissions, etc. Is there a way for me to do this without editing the plugin code directly?
Override those things in your project's schema files:
sfGuardGroup:
tableName: groups
sfGuardPermission:
tableName: permissions
sfGuardGroupPermission:
tableName: groups_permissions
Also, I'd prefer to move them into separate file, say sfDoctinePlugin-schema.yml
.
Hope that helps.