mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 22:58:48 +01:00
parent
bf46a21405
commit
e504ac2894
2 changed files with 15 additions and 0 deletions
|
|
@ -4,6 +4,12 @@
|
|||
//
|
||||
// Migrations.add(name, migrationCallback, optionalOrder);
|
||||
|
||||
// Note that we have extra migrations defined in `sandstorm.js` that are
|
||||
// exclusive to Sandstorm and shouldn’t be executed in the general case.
|
||||
// XXX I guess if we had ES6 modules we could
|
||||
// `import { isSandstorm } from sandstorm.js` and define the migration here as
|
||||
// well, but for now I want to avoid definied too many globals.
|
||||
|
||||
// In the context of migration functions we don't want to validate database
|
||||
// mutation queries against the current (ie, latest) collection schema. Doing
|
||||
// that would work at the time we write the migration but would break in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue