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 3216882
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:20:47+00:00 2026-05-17T15:20:47+00:00

Please imagine you have an live-application with used data in your doctrine-controlled database. Now

  • 0

Please imagine you have an live-application with used data in your doctrine-controlled database.
Now you find out that it’s necessary to rename some cols and add some others.
What is the best approach to accomplish this without too much struggling with your data?

Please let my know if it’s not clear what I mean, maybe I am just unable to read the manual correctly..

best regards

  • 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-17T15:20:48+00:00Added an answer on May 17, 2026 at 3:20 pm

    renaming is pretty easy:

    read about columan aliases

    adding and removing cols is much more tricky.
    you could do it by changing the model and afterwards changing the fields in the tables by hand, or you use the doctrine migration to “automaticly” do this job for you:

    Doctrine migrations

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

Sidebar

Related Questions

Imagine situation like this: You have a working repo in bitbucket - you were
What I have is a spreadsheet with over 100 tabs with relatively the same
I think I have a pretty easy problem to solve, but I have been
I need the most simple auction script you can imagine. I dont need categories,
Imagine a full Android device screen, I want it split in to two sections:
Ok this is a tricky one. I have a list of Sets. I would
I want to apply operations from the OpenCV computer vision library, in real time,
I am looking to build an online customer support system for one of our
I am working on a client/server game (C#.NET) where I do not want to

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.