Future<List<Customer>> fetchCustomers() async { final db = await database; final maps = await db.query('customers', orderBy: 'id DESC'); return maps.map(Customer.fromMap).toList(); }