On Wednesday, February 25, 2015 at 7:43:46 AM UTC-8, Niphlod wrote:
>
> by hand.
>
>
That is, use the import functions of the database the site will use, 
right?  And then use migrate=False and/or fakemigrate to create the DAL's 
.table files?
<URL:http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#migrate--fake_migrate>
 
But Abhijit will still have to set up the models file with the correct 
field definitions to match the table(s) being imported.

/dps

On Wednesday, February 25, 2015 at 4:29:52 PM UTC+1, Abhijit Chatterjee 
> wrote:
>>
>> I haven't tried to code yet. But if I have .sql file. How to import.
>
>

-- 
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