[eluser]ibagur[/eluser]
hi, could anyone illuminate my way with the following issue? thanks:
i got a couple of tables, let's say one is called 'albums' and stores the title of an album, artist, etc. The other table is called songs and stores the titles of the songs for each album. Both tables can be related through a 'songs.id_album' that corresponds to 'album.id'.
I would like that everytime I delete an album using my form, then the associated songs get deleted from the 'songs' table. I guess I can acommplish these with a little bit of programming on the controller side, but I wonder whether it's there any other way to relate those tables, i.e. via the YAML description file.
Thanks everyone,
i.