You can define a table with "migrate=false" parameter; For xxxx.define_table(), you only need to define those things that your web2py applicaiton need to know about - basically, you're defining the interface to the database that you want to have. Turning off migrations keeps from generating the SQL code to update the table schema.
Hope this helps. Yarko On Tue, Oct 21, 2008 at 11:27 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > Can web2py's DAL be used without migrations? If I have a pre-existing > database schema, is there a way around using db.define_table? I've > done this with rails by just using empty models. > > Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---