Clarify implications of introducing new migrations
This commit is contained in:
@@ -5,9 +5,9 @@ const settings = require('../settings');
|
||||
const { runMigrations } = require('./run_migrations');
|
||||
|
||||
|
||||
// NOTE: Add new migrations that need to traverse entire database, e.g. messages
|
||||
// store, here. These will only run after attachment migration has completed in
|
||||
// the background:
|
||||
// IMPORTANT: Add new migrations that need to traverse entire database, e.g.
|
||||
// messages store, below. Whenever we need this, we need to force attachment
|
||||
// migration on startup:
|
||||
const migrations = [
|
||||
// {
|
||||
// version: 0,
|
||||
|
Reference in New Issue
Block a user