Discussion:
[doctrine-user] Doctrine migrations
p***@circles.bz
2017-10-31 14:50:26 UTC
Permalink
Hi all,

what is the best way to use doctrine migrations on a new installation of a
project?

a) use doctrine:schema:create plus doctrine:migrations:version --add --all
b) run all migrations from the very beginning of the project

I know that both ways work, but what do you think is best?
--
You received this message because you are subscribed to the Google Groups "doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+***@googlegroups.com.
To post to this group, send email to doctrine-***@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
Marco Pivetta
2017-10-31 14:57:28 UTC
Permalink
I'd personally just run the migrations from the beginning: easier and also
shows whether your assumptions about the SQL support still hold true (much
like a sanity check)

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/
Post by p***@circles.bz
Hi all,
what is the best way to use doctrine migrations on a new installation of a
project?
a) use doctrine:schema:create plus doctrine:migrations:version --add --all
b) run all migrations from the very beginning of the project
I know that both ways work, but what do you think is best?
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doctrine-user+***@googlegroups.com.
To post to this group, send email to doctrine-***@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...