DBmodel now works for ios and android tables