Sql on realm is finally finished.. (I think...)