Introduce models, factories, and specs for spitted tables

Starting with models and factories ...

...

Get some of the models working

Fix test

Rename stuff

Try up stuff with concern

check function ...

... add first trigger constraint ...

There is no point in running features for now

Extend trigger check to other tables

Extend trigger check to media_resources

Clean media_set model and add refactor factory

Fix media_set factory name

So, we can't raise a warning in factory ...

Rename things

Migrations pass ...

Migrations pass again ...

Fix migrations again ...

Add creator and updator

Fix running migration

...

Fix media_entry_spec

Lets run it again on ci

Add collection model and tests, delete some specs

Almost done with constraints

wtf

Consistentcy check done

Relate (and test) media_entries with collections

Disable a bunch of tests

Only test what we care about for now

Really clean tests

Clean and upgrade ... still two failures