Update schema version history
This commit is contained in:
parent
0e20e8e2ea
commit
a619d48fac
1 changed files with 8 additions and 6 deletions
|
@ -8,6 +8,14 @@ const SchemaVersion = require('./schema_version');
|
||||||
const GROUP = 'group';
|
const GROUP = 'group';
|
||||||
const PRIVATE = 'private';
|
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;
|
const INITIAL_SCHEMA_VERSION = 0;
|
||||||
|
|
||||||
// Increment this version number every time we add a message schema upgrade
|
// 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:
|
// how we do database migrations:
|
||||||
exports.CURRENT_SCHEMA_VERSION = 2;
|
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
|
// Public API
|
||||||
exports.GROUP = GROUP;
|
exports.GROUP = GROUP;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue