Database schema implemented