SchemaExport, SchemaUpdate, SchemaValidator are for development time, NOT for deploy.You should deploy an empty DB and Migration-scripts in each app actualization.
2009/3/17 Kris-I <[email protected]> > > Hello, > > Imagine, I do a software ... > > 1. At software installation (before or after), I need to create the > database and the schema. Wich strategy do you use to generate the > database ? OK, I generate the database from the mapping file. But to > do this, I have to do a small application to generate the database ? I > suppose I don't do that from the main application ... what is the best > strategy to do this ? Keep in mind, the end user is not working in the > IT world and I don't have access to his PC :) > > 2. Same question but for an update shema. In my application between > the version 1.0 and the version 1.1, I changed some field name, add > some field, add some table. Which strategy I have to use, to run my > application 1.1 on the DB 'version 1.1" and the the application 1.0 > with the DB "version 1.0" > > I need your feedback and experience about this. > > Thanks, > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
