MM-49540: drafts migration adding metadata (#7240)

* MM-49540: drafts migration adding metadata

Adds a drafts table migration adding the column "metadata".
This column is going to be primarily used to store the draft's
metadata priority field.

* Addresses review comments
This commit is contained in:
Kyriakos Z
2023-03-30 12:42:52 +03:00
committed by GitHub
parent d62c35aae1
commit 6472ce1247
5 changed files with 15 additions and 2 deletions

View File

@@ -25,6 +25,8 @@ declare class DraftModel extends Model {
/** files : The files field will hold an array of files object that have not yet been uploaded and persisted within the FILE table */
files: FileInfo[];
metadata?: PostMetadata;
}
export default DraftModel;