Hi,
Thanks for your input Dave. It is indeed from Auth. If I change lines
(1867-1869) in gluon/tools.py:
Field('registration_id', length=512,
writable=False, readable=False, default='',
label=self.messages.label_registration_id),
to
Field('registration_id', length=512,
writable=False, readable=False, default=123,
label=self.messages.label_registration_id),
the warning goes away. It all stems from a call to db.auth_user.insert where
registration_id is not specified. What is the column for?
Den fredag 17 maj 2019 kl. 03:35:03 UTC+2 skrev Dave S:
>
>
>
> On Thursday, May 16, 2019 at 2:26:21 AM UTC-7, Joel Samuelsson wrote:
>>
>> It is not my table but something builtin I'm guessing. I have no column
>> with name registration_id.
>>
>
> That name sounds like it is from Auth (auth_user, probably). Please show
> your model file where Auth is instantiated; did you make any changes in
> the lines above that?
>
> What flavor of Docker? (OS, OS version, Python version; we have 2.17.1
> from your first message,
>
> You might also consider using a newer version of web2py; 2.18.5 came out
> on April 7th, and there have been a bunch of bug fixes since 2.17.1.
>
> /dps
> /
>
>
>
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/03e810f6-e954-44dd-a070-fb74a94a826b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.