There are two different issues. One is the question in your first email about migration. Is the problem that you do not get a dropdown? Is it possible you manually set a validator for the field?
Your second question. How to drop a table. 1) enable migrations 2) python web2py.py -S yourapp -M -M 3) type db.yourtable.drop() db.commit() 4) edit the model and remove the table before using the app, else it will be created again. On Tuesday, 17 September 2013 07:46:42 UTC-5, Avi A wrote: > > Changing it to True, didn't make a change either. > > On Tuesday, September 17, 2013 3:34:29 PM UTC+3, Avi A wrote: >> >> What's the procedure to drop the table? >> >> On Tuesday, September 17, 2013 3:22:35 PM UTC+3, Niphlod wrote: >>> >>> if you set migrate=False, what kind of migration you expect ? >>> >>> PS: changing something from integer to string suualy doesn't involve any >>> problem: doing the opposite brings many.... my totally personal advice is >>> drop those table and recreate them from scratch >>> >>> On Tuesday, September 17, 2013 1:33:54 PM UTC+2, Avi A wrote: >>>> >>>> Hi, >>>> I changed in some table (t_items) a field type from: >>>> type='string' >>>> to: >>>> type='reference t_categories' >>>> and replaced: >>>> migrate=settings.migrate >>>> with: >>>> migrate=False,fake_migrate=True >>>> I stopped and started the server, but I don't see that the change took >>>> place, on the relevant form. (create item.). >>>> What should I do? >>>> Thanks. >>>> >>> -- 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]. For more options, visit https://groups.google.com/groups/opt_out.

