#--------
legacy_db.define_table('wfs100getfeature',
migrate=False)
print 'USAGE:\n\n extract_mysql_models.py data_basename\n\n'
pardon me, which script that you execute? because in the scripts folder there is 4 scripts for extract the table into models (mysql, oracle, pgsql and sqlite). and which web2py version did you use and what is your os environment? please use the script that match with your database backend.
and for legacy db please take a look at the book in dal chapterref:
Thanks. That allows me to narrow it down to two questions:1) I'm just going to want to use various select queries against views/tables (including joins) in the "legacy" database, nothing else. This database will never need to be altered by web2py. Will I be able to do that?
2) If I want to do want to write anything, I guess web2py will let me have a separate native database which I can use for that. You can have multiple databases right? A mix for native and legacy? Neither will need to interact directly with the other and the logical separation would be well suited to this application.