[web2py] Re: references in sqlite3

2016-06-03 Thread botasservice
I solved this by re-defining tables. пятница, 3 июня 2016 г., 13:27:29 UTC+3 пользователь botass...@gmail.com написал: > > Hello. > > I have 3 tables, one of them default auth_user table, and other two are: > db.define_table('table_A', > Field('account_user', 'reference auth_user'

[web2py] Re: references in sqlite3

2016-06-03 Thread Mirek Zvolský
I don't understand where is the problem? Can you describe it again or better? Web2py adds id field into all tables as primary key, field of type 'reference tablename' or db.tablename became foreign keys. This is standard behaviour. If you want/need to modify this behaviour, you should read about