separated db models