Hello,
My question is break migration when defining a new table in modal. 

#modal.py
db = DAL('mysql://*********@*********.amazonaws.com/ware1',
             pool_size=configuration.get('db.pool_size'),
             migrate_enabled=configuration.get('db.migrate'),
             check_reserved=['all'],migrate=False)

db.define_table('payment_chk',
                Field('auth_id'),
                Field('to_vlid','date'),
                Field('email_no','integer'),
                Field('sms_no','integer'),
                auth.signature,
                fake_migrate=True
                )
When i insert data in payment_chk tabel than get a Error.
<class 'gluon.contrib.pymysql.err.ProgrammingError'> (1146, "Table 
'ware1.payment_chk' doesn't exist")


Thanks
SP
 

-- 
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/d/optout.

Reply via email to