diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-09-09 02:46:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-09-09 02:46:54 +0900 |
| commit | 424625846e1a040a452a88c13830f97fbd40ccfc (patch) | |
| tree | 56cd15d32e0eed86a62ff770fbe2d4e35ea17a47 /src | |
| parent | Update README.md (diff) | |
| parent | 8.33.1 (diff) | |
| download | sharkey-424625846e1a040a452a88c13830f97fbd40ccfc.tar.gz sharkey-424625846e1a040a452a88c13830f97fbd40ccfc.tar.bz2 sharkey-424625846e1a040a452a88c13830f97fbd40ccfc.zip | |
Merge branch 'master' into develop
Diffstat (limited to 'src')
| -rw-r--r-- | src/models/note.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/models/note.ts b/src/models/note.ts index 98d37caf22..181ebecf24 100644 --- a/src/models/note.ts +++ b/src/models/note.ts @@ -21,16 +21,6 @@ Note.createIndex('_files.contentType'); Note.createIndex({ createdAt: -1 }); - -// 後方互換性のため -Note.update({}, { - $rename: { - mediaIds: 'fileIds' - } -}, { - multi: true -}); - export default Note; export function isValidText(text: string): boolean { |