Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6344259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:35:58+00:00 2026-05-24T20:35:58+00:00

Im developing kind of a plugin for an already working system, and i intend

  • 0

Im developing kind of a plugin for an already working system, and i intend to use symfony. My plugin requires authentication, and i want to use the symfony sfDoctrineGuardPlugin. I generated the schema.yaml from the existing database, using the command: $ php symfony doctrine:build-schema, where i had already modeled my user table, with some fields i needed, and foreign keys to other tables.

When i installed the mentioned plugin, i realized it creates its own schema, separated from mine. Is there any way to add fields to sfDoctrineGuardPlugin‘s user table? can i make foreign keys in this table? can i reference this table from other tables? I need a way to fully customize the user table and class created by the plugin…

Thank you very much for your attention and help!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T20:35:59+00:00Added an answer on May 24, 2026 at 8:35 pm

    The materials you got from LuisClemente are enough.

    To add references you use usual way to do it.

    schema.yml:

      sfGuardUser:
        columns:
          personal_info_id: { type: integer(5), notnull: false }    
        relations:
          PersonalInfo:
            class: PPersonalInfo
            local: personal_info_id
            foreign: id
            onDelete: CASCADE
    
      PPersonalInfo:
        columns:
          last_name:          { type: string(127), notnull: false }
          first_name:       { type: string(127), notnull: false }
    

    For more info see symfony blog

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im developing kind of authentication and profiling system and i would like to provide
I'm on developing a twitter kind of Application where in I want that the
I am developing my own lightbox kind of jquery plugin. Everything works but I
I'm developing a kind of list where my elements are clickable. I already used
Which kind of application would anyone suggest to start working on/developing for a novice
I'm developing a WordPress plugin that presents a kind of dashboard, full of custom
Hello i am currently developing a kind of wiki system for my school, this
I'm developing some kind of plugin which should be called by external java app.
I'm developing a kind of an exchange format between instances of an application so
Just for kind of fun I'm developing almost every algorithm (if possible) shown in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.