You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating to new snipe it 17.1.15 and db restore has this error.
LOG.error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_by' in 'field list' (Connection: mysql, SQL: select id, created_by, created_at, updated_at, name, category_type, use_default_eula, eula_text, require_acceptance, checkin_email, image, (select count() from accessories where categories.id = accessories.category_id and accessories.deleted_at is null) as accessories_count, (select count() from consumables where categories.id = consumables.category_id and consumables.deleted_at is null) as consumables_count, (select count() from components where categories.id = components.category_id and components.deleted_at is null) as components_count, (select count() from licenses where categories.id = licenses.category_id and licenses.deleted_at is null) as licenses_count, (select count(*) from assets inner join models on models.id = assets.model_id where categories.id = models.category_id and exists (select * from status_labels where assets.status_id = status_labels.id and archived = 0 and status_labels.deleted_at is null) and assets.deleted_at is null and models.deleted_at is null) as assets_count from categories where categories.deleted_at is null order by assets_count desc limit 20 offset 0) {
"userId": 1,
"exception": {
"errorInfo": [
"42S22",
1054,
"Unknown column 'created_by' in 'field list'"
],
"connectionName": "mysql"
}
The text was updated successfully, but these errors were encountered:
After migrating to new snipe it 17.1.15 and db restore has this error.
LOG.error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_by' in 'field list' (Connection: mysql, SQL: select
id
,created_by
,created_at
,updated_at
,name
,category_type
,use_default_eula
,eula_text
,require_acceptance
,checkin_email
,image
, (select count() fromaccessories
wherecategories
.id
=accessories
.category_id
andaccessories
.deleted_at
is null) asaccessories_count
, (select count() fromconsumables
wherecategories
.id
=consumables
.category_id
andconsumables
.deleted_at
is null) asconsumables_count
, (select count() fromcomponents
wherecategories
.id
=components
.category_id
andcomponents
.deleted_at
is null) ascomponents_count
, (select count() fromlicenses
wherecategories
.id
=licenses
.category_id
andlicenses
.deleted_at
is null) aslicenses_count
, (select count(*) fromassets
inner joinmodels
onmodels
.id
=assets
.model_id
wherecategories
.id
=models
.category_id
and exists (select * fromstatus_labels
whereassets
.status_id
=status_labels
.id
andarchived
= 0 andstatus_labels
.deleted_at
is null) andassets
.deleted_at
is null andmodels
.deleted_at
is null) asassets_count
fromcategories
wherecategories
.deleted_at
is null order byassets_count
desc limit 20 offset 0) {"userId": 1,
"exception": {
"errorInfo": [
"42S22",
1054,
"Unknown column 'created_by' in 'field list'"
],
"connectionName": "mysql"
}
The text was updated successfully, but these errors were encountered: