Why are you considering this as an option?
When you refer to a build do you mean a new website or the build of a VS project?
Will your site have content put in it during this process?
In my opinion, my instinct is to say this is a bad idea, especially if you answered yes to question 3 or "build of a VS project" to question 2.
I think this is a bad idea too, but I am looking for ways to convince someone that it is, but would like to hear from others and yes content is being inserted as well.
One issue you might find is things like pre-values and media loosing their IDs.
Using scripts to rebuild your database is risky, what happens if the scripts aren't updated, or miss some content. What if it breaks all the foreign key relationships mapping things incorrectly.... There are loads of things that could go wrong with this approach with, from what I can think of, no benefits.
pitfalls of dropping and recreating umbraco db for every build?
If I drop and recreate by umbraco db from a script every build, are there pitfalls that I should be aware of when doing this?
Hi Saied,
I think a bit more information on this is needed.
Why are you considering this as an option? When you refer to a build do you mean a new website or the build of a VS project? Will your site have content put in it during this process?
In my opinion, my instinct is to say this is a bad idea, especially if you answered yes to question 3 or "build of a VS project" to question 2.
Nik
Yes when building in VS.
I think this is a bad idea too, but I am looking for ways to convince someone that it is, but would like to hear from others and yes content is being inserted as well.
There is absolutely no need to do it.
One issue you might find is things like pre-values and media loosing their IDs.
Using scripts to rebuild your database is risky, what happens if the scripts aren't updated, or miss some content. What if it breaks all the foreign key relationships mapping things incorrectly.... There are loads of things that could go wrong with this approach with, from what I can think of, no benefits.
is working on a reply...