MM-60705 DB migration: added update_at column to draft table for mobile (#8237)

* MM-60705 DB migration: added update_at column to draft table for mobile

* refactor: updated docs

* refactor: reverted unwanted changes and updated default value for update_at columns

* refactor: changed the condition for excepting 0 value for update_at column
This commit is contained in:
Rajat Dabade
2024-10-15 19:49:22 +05:30
committed by GitHub
parent c6583b7f90
commit 647b8c8eb6
18 changed files with 41 additions and 7 deletions

View File

@@ -27,6 +27,9 @@ declare class DraftModel extends Model {
files: FileInfo[];
metadata?: PostMetadata;
/** update_at : The timestamp to when this post was last updated on the server */
updateAt: number;
}
export default DraftModel;

View File

@@ -23,6 +23,7 @@ type Draft = {
message?: string;
root_id: string;
metadata?: PostMetadata;
update_at: number;
};
type MyTeam = {