Can't add Aastra template in Endpoint Mgr

Endpoint Manager v12.0.0.62
PBX Firmware: 6.12.65-27

When trying to add an Aastra Brand Template the following errors pop up (immediately after clicking “Aastra”)
This is a system that was on the Distro v1.8 with Aastra-XML scripts. We upgraded FreePBX through 2.11 and to 2.12 then backed up and restored on to a net new system (Distro 6.12). I’ve done a “yum remove aastra*” to get rid of the old xml package.

EndPoint Manager

EndPoint
Global Settings
Extension Mapping
Brands
No Templates
Advanced
Add Brand
Image Management
Basefile Edit
Custom Ext Management
Firmware Management
Network Scan
Create
New Template
Import Template
Manage
FATAL ERROR

SELECT * FROM endpoint_templates where brand = ‘aastra’ and default = ‘1’ [nativecode=1054 ** Unknown column ‘default’ in ‘where clause’]

Trace Back

/var/www/html/admin/modules/endpoint/functions.inc/functions_views.php:917 die_freepbx()
[0]: SELECT * FROM endpoint_templates where brand = ‘aastra’ and default = ‘1’ [nativecode=1054 ** Unknown column ‘default’ in ‘where clause’]

/var/www/html/admin/modules/endpoint/views/brand.php:8 endpoint_templatesView()
[0]: aastra

/var/www/html/admin/libraries/view.functions.php:205 include()
[0]: /var/www/html/admin/modules/endpoint/views/brand.php

/var/www/html/admin/modules/endpoint/views/page.endpoint.php:681 load_view()
[0]: /var/www/html/admin/modules/endpoint/views/brand.php
[1]:

/var/www/html/admin/modules/endpoint/page.endpoint.php:9 include_once()
[0]: /var/www/html/admin/modules/endpoint/views/page.endpoint.php

/var/www/html/admin/config.php:499 include()
[0]: /var/www/html/admin/modules/endpoint/page.endpoint.php

Uninstalled EPM and REST then re-installed and it seems to work now.