You have a HABTM assoc. between those two models so you need to have a
join table named artists_comics. Create that with 2 columns, artist_id
& comic_id (note the singular). The type for the columns should match
whatever you're using for artists.id & comics.id (though not
auto_increment/serial, of course).

On Mon, Aug 17, 2009 at 6:39 PM, fightinggeek<[email protected]> wrote:
>
>
> I get this error when I try to load the scaffold view.
> I have tables called artists and comics in the comic database and models
> call artist.php and comic.php. i have no idea what I'm doing wrong.
>
> Missing Database Table
>
> Error: Database table artists_comics for model ArtistsComic was not found.
> --
> View this message in context: 
> http://www.nabble.com/Missing-Database-Table--Error-tp25015550p25015550.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to