🎨 withInheritedSchemaVersion
to inheritSchemaVersion
This commit is contained in:
parent
df693ade7c
commit
b9e9f5e19a
2 changed files with 5 additions and 5 deletions
|
@ -20,7 +20,7 @@ exports.upgradeSchema = async message =>
|
|||
});
|
||||
|
||||
// Inherits existing schema from attachments:
|
||||
exports.withInheritedSchemaVersion = (message) => {
|
||||
exports.inheritSchemaVersion = (message) => {
|
||||
const isInitialized = SchemaVersion.isValid(message.schemaVersion) &&
|
||||
message.schemaVersion >= 1;
|
||||
if (isInitialized) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue