diff --git a/server/src/migrations.ts b/server/src/migrations.ts index cfa4a9d..fd83f33 100644 --- a/server/src/migrations.ts +++ b/server/src/migrations.ts @@ -1,3 +1,10 @@ +/* + How to add a migration: + - create migration function + - add it with the next revision number to REVISIONS Map + It will be automatically applied if actual DB revision < added revision +*/ + import { Collection, makeDBQ } from './services/data_service'; import * as _ from 'lodash';