Database model, has_many setter

* Database has_many setter transforms empty values into empty arrays