Please use sql.py not dal.py. The latter is an experimental rewrite.
Make sure the DAL(....,folder=...) is specified and point to the
location where migration files are (.table)

On 16 Ago, 03:11, Bruno Rocha <rochacbr...@gmail.com> wrote:
> I am using DAL for a python Tcl/Tk project
>
> I made a copy of "gluon" folder and I am trying DAL from command shell as:>>> 
> from dal import *
>
> now I have DAL and Field and everything works very well, but not the
> Migrations.
>
> >>>db.define_table('person')
>
> ok I have a person table just with the 
> id>>>db.define_table('person',Field('nome'))
>
> error in sql.py
> invalid table name: person
>
> How can I get Migration working for DAL outside w2p framework?
>
> Tks

Reply via email to