I think that the overwriting feature is fine just as it's right now... I
have one application on production server and I can update it merging the
update with the old version without troubling my self with backups for
upload files, for example.
In my models definition modules - with is the way i prefer - i ask if db
has or not the table, for example:
if not hasattr (db, 'person'):
db. define_table ('person', ... )
On Jan 28, 2016 12:51 PM, "Annet" <[email protected]> wrote:
I just uploaded and installed a packed application overwriting an
installed app. The problem is that this procedure does not
remove the files form the old app that are not in the new app.
I had a model file named 76_resume.py which I renamed 78_resume.py
this resulted in an error ticket about already existing tables.
Why doesn't web2py remove the files that are no longer there when
I overwrite an app?
Kind regards,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.