Those codes were working fine under Version 1.90.6 and 1.86.2. Is there any restriction in SQL/SQLite/web2py regarding to first- letter-capitalization table names?
Moreover, the first letter of a field name can't be capitalized neither under the new version. On Feb 28, 3:15 pm, DenesL <denes1...@yahoo.ca> wrote: > There has been quite a few posts/complaints around this. > Why was this changed? (if it was... I have not checked) > > On Feb 28, 11:23 am, surfnet3 <surfn...@gmail.com> wrote: > > > > > > > > > The following codes are not working in v1.92.1 but worked in some > > previous versions: > > > db.define_table( > > 'Products', > > Field('name') > > ) > > > db.define_table( > > 'purchases', > > Field('product_id', db.Products) > > ) > > > It would work fine if the table name changed to 'products' instead.