Re: [web2py] table auth_user already exists

2017-01-19 Thread Dave S
On Thursday, January 19, 2017 at 6:26:44 AM UTC-8, Andrea Fae' wrote: > > morevoer I want to rename the name of auth tables files but this tables > are totally standard...I have to modify db.py? > > Il giorno giovedì 19 gennaio 2017 15:07:38 UTC+1, Andrea Fae' ha scritto: >> >> It's not working. I

Re: [web2py] table auth_user already exists

2017-01-19 Thread Andrea Fae'
morevoer I want to rename the name of auth tables files but this tables are totally standard...I have to modify db.py? Il giorno giovedì 19 gennaio 2017 15:07:38 UTC+1, Andrea Fae' ha scritto: > > It's not working. I want to rename the name of the tables but in > production I don't want this tab

Re: [web2py] table auth_user already exists

2017-01-19 Thread Andrea Fae'
It's not working. I want to rename the name of the tables but in production I don't want this tables. thanks Il giorno mercoledì 18 gennaio 2017 18:21:06 UTC+1, Richard ha scritto: > > databases/*files are the "memory" of web2py to know which tables have been > created in the backend and which h

Re: [web2py] table auth_user already exists

2017-01-18 Thread Richard Vézina
databases/*files are the "memory" of web2py to know which tables have been created in the backend and which have not... If you delete it, web2py think the related table is not defined in the backend and will try to create it, which will lead to the error message you have as the table is already cre

[web2py] table auth_user already exists

2017-01-18 Thread Andrea Fae'
Why if I delete .table files and log file inside database folder sqlite I have this error? sqlite is or not a only one file? Is it something regarding migrate=true or false? Can I have a better explanation than the book? Thank you -- Resources: - http://web2py.com - http://web2py.c

Re: [web2py] table auth_user already exists

2011-06-27 Thread Richard Vézina
Have you try : http://www.web2py.com/book/default/chapter/06?search=migrate#Fixing-Broken-Migrations http://www.web2py.com/book/default/chapter/06?search=migrate#Migrations You should use migrate=False in your models once your tables have been created and you know you will not have to modify them

Re: [web2py] table auth_user already exists

2011-06-27 Thread Richard Vézina
Did you upgrade by the web2py "admin" update link? Richard On Mon, Jun 27, 2011 at 2:22 PM, Christopher Baron wrote: > Hi web2py users, > > Just upgraded to Version 1.97.1 > > I checked my code out into the new directory, opened my browser, and > received and error stating 'auth_cas' already exi

[web2py] table auth_user already exists

2011-06-27 Thread Christopher Baron
Hi web2py users, Just upgraded to Version 1.97.1 I checked my code out into the new directory, opened my browser, and received and error stating 'auth_cas' already exists. I removed all files from the databases folder and tried again receiving an error that 'auth_user' already exists. I'm using