[web2py] standalone DAL: why is migration table name preceeded by some prefix ?
hello, I use the following statement to create a standalone DAT table DB.define_table ( Name, *Fields, migrate = 'Afdeling.table' ) Why is the name of the migration table prefixed ? 9ca3bd6f71b92b953cff7d3c148b42fc_Afdeling.table thanks, Stef Mientki
Re: [web2py] standalone DAL: why is migration table name preceeded by some prefix ?
That is a hash of the connection string you pass in during DAL instantiation. This way you can uniquely identify db = DAL('sqlite://my.db') vs db = DAL('postgres://.') without overwriting your .table files. -- Thadeus On Sun, Oct 31, 2010 at 3:03 PM, Stef Mientki stef.mien...@gmail.comwrote: hello, I use the following statement to create a standalone DAT table DB.define_table ( Name, *Fields, migrate = 'Afdeling.table' ) Why is the name of the migration table prefixed ? 9ca3bd6f71b92b953cff7d3c148b42fc_Afdeling.table thanks, Stef Mientki
Re: [web2py] standalone DAL: why is migration table name preceeded by some prefix ?
thanks for the information Thadeus, cheers, Stef On 31-10-2010 21:59, Thadeus Burgess wrote: That is a hash of the connection string you pass in during DAL instantiation. This way you can uniquely identify db = DAL('sqlite://my.db') vs db = DAL('postgres://.') without overwriting your .table files. -- Thadeus On Sun, Oct 31, 2010 at 3:03 PM, Stef Mientki stef.mien...@gmail.com mailto:stef.mien...@gmail.com wrote: hello, I use the following statement to create a standalone DAT table DB.define_table ( Name, *Fields, migrate = 'Afdeling.table' ) Why is the name of the migration table prefixed ? 9ca3bd6f71b92b953cff7d3c148b42fc_Afdeling.table thanks, Stef Mientki