hasColumn('name', 'string'); $this->hasColumn('user_id', 'integer'); } public function setUp() { $this->hasMany('MyUserOneThing', 'MyUserOneThing.one_thing_id'); } }