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

  • SEARCH
  • Home
  • 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 1103421
In Process

The Archive Base Latest Questions

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

The decision I’m trying to make is where I want to do schema changes.

  • 0

The decision I’m trying to make is where I want to do schema changes. I need a schema update to happen in the database, in the model definition, and I’d also like to generate a doctrine migration for that change too. I would really prefer to only have to define schema changes in one place, not three.

Right now I’m thinking of writing all schema changes only as doctrine migrations. I then have a command line tool that runs all pending migrations and does a database->model sync. Is this reliable enough to work? I’m using postgresql if it matters.

  • 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-17T01:20:27+00:00Added an answer on May 17, 2026 at 1:20 am

    The standard flow is to generate an empty doctrine migrations, add the schema changes run the migrations and create your entities. So you’ll only need to modify it at 2 places.

    This works perfectly with my set-up. Never had any problems with it if you check your down statement at least.

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

Sidebar

Related Questions

I'm trying to make a decision about how to display my data. What I
I need help to make decision. I have a need to transfer some data
I am making the decision for an embededded database in an upcoming Java servlet
I want to know that all decision trees are binary Trees? thanks
Background about binary decision diagrams can be found here BDD on wikipedia . The
What was the design decision behind NullReferenceException not containing any runtime specific information except
Has Red Gate made any decision yet on if they will soon support GIT
Can you recommend me a good decision tree C++ class with support for continous
I have recently taken the decision of changing a vector of pointers into a
if(pictureBox4.Image.ToString() == ePRO_Decision_Tool.Properties.Resources.mod_onalertq.ToString())... How to read name of image file loaded in pictureBox (or

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.