Re: [web2py] Re: fake_migrate=True is not working

2020-08-31 Thread Andrea Fae'
Now I understand. thank you so much Il giorno venerdì 28 agosto 2020 12:08:25 UTC+2, Jose C ha scritto: > > thank you Jim, but I don't understand... >> >> If I set >> migrate=False >> fake_migrate= True >> >> it means that web2py create the .table files without touching the db, >> isn'it? >> >>

Re: [web2py] Re: fake_migrate=True is not working

2020-08-28 Thread Jose C
> > thank you Jim, but I don't understand... > > If I set > migrate=False > fake_migrate= True > > it means that web2py create the .table files without touching the db, > isn'it? > > If I set > migrate=True > fake_migrate=True > > It means what exactly? > migrate=True tells web2py to do the

Re: [web2py] Re: fake_migrate=True is not working

2020-08-27 Thread Andrea Fae'
Hello Clemens, here you are the answers: - What about your sql.log? I don't have in the databases folder. I tried with different combinations of migrate and fake_migrate_all but no way - Do your have direct access to the database (w/o web2py) using this user/password account?

Re: [web2py] Re: fake_migrate=True is not working

2020-08-27 Thread Clemens
Hi, one more distance try: What does your sql.log file say? It's also to be found in the databases folder. For example, I can find there entries like: timestamp: 2020-08-21T17:53:29.984015 CREATE TABLE "functionality_attributes"( "id" SERIAL PRIMARY KEY, ... ); success! I had a similar

Re: [web2py] Re: fake_migrate=True is not working

2020-08-27 Thread Andrea Fae'
thank you Jim, but I don't understand... If I set migrate=False fake_migrate= True it means that web2py create the .table files without touching the db, isn'it? If I set migrate=True fake_migrate=True It means what exactly? thank you so much Il giorno mercoledì 26 agosto 2020 17:32:09

Re: [web2py] Re: fake_migrate=True is not working

2020-08-26 Thread Jim Steil
You still have migrate set to False in your appconfig.ini. -Jim On Wed, Aug 26, 2020 at 10:14 AM Andrea Fae' wrote: > Thank you for your suggestions...Like this (see attaached files)? > but, no way, no .tables created...I don't know why... > > Il giorno mercoledì 26 agosto 2020 14:46:05 UTC+2,

[web2py] Re: fake_migrate=True is not working

2020-08-26 Thread Andrea Fae'
Thank you for your suggestions...Like this (see attaached files)? but, no way, no .tables created...I don't know why... Il giorno mercoledì 26 agosto 2020 14:46:05 UTC+2, Jim S ha scritto: > > Did you remove the apostrophe at the bottom as well? > > I haven't used migrate / fake migrate in the

[web2py] Re: fake_migrate=True is not working

2020-08-26 Thread Jim S
Did you remove the apostrophe at the bottom as well? I haven't used migrate / fake migrate in the past the way that you are implementing. Are you intentionally trying to set it by table? For me, on my DAL statement I'd include: migrate_enabled=myconf.get('db.migrate')

[web2py] Re: fake_migrate=True is not working

2020-08-26 Thread Andrea Fae'
Hello, thank you for your answer. I deleted the character but nothing changes. Best regards Andrea Il giorno lunedì 24 agosto 2020 12:39:47 UTC+2, Clemens ha scritto: > > Hi, > > I'm not very deep in your issue. But opening your appconfig.ini with my > default editor shows that the apostrophe

[web2py] Re: fake_migrate=True is not working

2020-08-24 Thread Clemens
Hi, I'm not very deep in your issue. But opening your appconfig.ini with my default editor shows that the apostrophe in your authors value could be a problem: [image: Untitled.jpg] Thus, just delete it and have try. If it doesn't change anything, please let me know and I will have a closer