A very comprehensive answer. I am suitably impressed. There are two things I'd do differently.
You noted that your cultural stuff was simplistic. It makes the error of associating languages with countries. An artwork being produced by an artist who lives in the UK in no way means that the artwork is in English. It may be artwork in a foreign language. It may be artwork produced a long time ago. (Latin was once the official language here.) It may be artwork in a British minority language such as Irish Gaelic, Welsh, Scots, Scottish Gaelic, Cornish, or Cumbric. (Side note: prior to Brexit, the UK used to get funding from the EU for supporting Irish Gaelic as a minority language. It is also spoken as a minority language in the Republic of Ireland, but they are ineligible for getting similar funding because although it's spoken by a minority of Irish people, it is one of Ireland's two official languages, and you can't get funding for supporting your own official language. Other side note: Scots and Scottish Gaelic are two entirely different languages. Scots is a cousin of Modern English. Modern English and Scots both evolved from different dialects of Old English. Scottish Gaelic is more closely related to Irish Gaelic, Welsh, Cornish, and Cumbric. Scots and Scottish Gaelic are about as related as French and Greek.)
The other thing I'd do differently is to drop these three columns entirely:
create table painting ( painting_id smallint unsigned not null primary key auto_increment, create table poem ( poem_id smallint unsigned not null primary key auto_increment, create table play ( play_id smallint unsigned not null primary key auto_increment,
All three of these tables already have a column which is not null and with each row having a unique numeric value.
In reply to Re: DBIx::Class and "complex" joins (was Re^4: DB: what kind of relationship?)
by tobyink
in thread DB: what kind of relationship?
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |