Decouple model from database specific fields

Description

QA Test Steps

None

Mana

None

Assignee

Unassigned

QA Assignee

None

Reporter

Mario de Frutos

Epic Link

Fix versions

Mattermost Team

Platform

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None
Configure