[jifty-devel] Two models share a table?

Gaal Yahas gaal at forum2.org
Sat Nov 25 03:56:59 EST 2006

On Sat, Nov 25, 2006 at 03:15:03AM -0500, C.G. LEE wrote:
> I made a Jifty application, TestApp, and a model Bogus1. In the Bogus1 model,
> there is Name column.
> Then, after a while, I made the second model, Bogus2, and the model also have
> Name column.
> When I run "jifty schema --setup" for Bogus2, I got an error like this;
> duplicated column so FAILED.
> I've checked my database, and there was the boguses table, but not the bogus2s
> table.
> The two models seemed to try to share a table. If not, how duplicated?

Do you maybe have an incorrect package declaration in Bogus2.pm saying
it's in the Bogus1 namespace?

Gaal Yahas <gaal at forum2.org>

More information about the jifty-devel mailing list