posterior_id and ensemble_id where ints instead of bigint.

mistake, had all foreign ID's as ints, not bigints.
?: Can we stick to the convention of using plurals for many-to-many join tables:

:posteriors_samples

and

PosteriorsSamples

(and definitely not "PosteriorSaples").