From a619d48fac589f8ec9d0776b69ec7200c256fdd1 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Wed, 14 Mar 2018 16:12:46 -0400 Subject: [PATCH] Update schema version history --- js/modules/types/message.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/js/modules/types/message.js b/js/modules/types/message.js index ed951c7d9..71540a5ef 100644 --- a/js/modules/types/message.js +++ b/js/modules/types/message.js @@ -8,6 +8,14 @@ const SchemaVersion = require('./schema_version'); const GROUP = 'group'; const PRIVATE = 'private'; +// Schema version history +// +// Version 0 +// - Schema initialized +// Version 1 +// - Attachments: Auto-orient JPEG attachments using EXIF `Orientation` data +// Version 2 +// - Attachments: Sanitize Unicode order override characters const INITIAL_SCHEMA_VERSION = 0; // Increment this version number every time we add a message schema upgrade @@ -17,12 +25,6 @@ const INITIAL_SCHEMA_VERSION = 0; // how we do database migrations: exports.CURRENT_SCHEMA_VERSION = 2; -// Schema version history -// -// Version 1 -// - Attachments: Auto-orient JPEG attachments using EXIF `Orientation` data -// Version 2 -// - Attachments: Sanitize Unicode order override characters // Public API exports.GROUP = GROUP;