Clarify implications of introducing new migrations

This commit is contained in:
Daniel Gasienica 2018-04-02 18:54:50 -04:00
parent 7413b787b6
commit 2e4893f4c1

View file

@ -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,