mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
removed users table relicts
This commit is contained in:
@@ -40,7 +40,7 @@ app.get('/api/initial-setup', async (req: any, res: any) => {
|
||||
const { db } = await import('./services/databaseService.js');
|
||||
|
||||
const adminExists = await db.get<{ 'COUNT(*)': number }>(
|
||||
'SELECT COUNT(*) FROM users WHERE role = ?',
|
||||
'SELECT COUNT(*) FROM employees WHERE role = ?',
|
||||
['admin']
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user