Hi! I am trying to connect pydal to external database with fake_migration false just to use the pydal interface to interact with this database.
But when I try to select something like: db(db.profiles.id == current_user.user_id).select(db .profiles.can_vote).first() It complains about "profiles.id" because it is a "uuid" value and it expects a int10. Is there a way to define the id column to accept the uuid value? db.define_table('profiles', Field('id', 'string'), Field('can_vote', 'boolean'), Field('username'), Field('avatar_url') ) Thanks! -- Linux User #387870 .........____ .... _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:_______ -- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAL67CHEOJ5gC49nbufdcNrMfQtWr-B-Uda4d6eVq2rmYabaKKA%40mail.gmail.com.