Commit Graph

3 Commits

Author SHA1 Message Date
Vikas Potluri 00c324fa4e
Moved core/server/lib/common/logging to core/shared/logging (#11857)
- Represents that logging is shared across all parts of Ghost at present
  * moved core/server/lib/common/logging to core/shared/logging
  * updated logging path for generic imports
  * updated migration and schema imports of logging
  * updated tests and index logging import
  * 🔥 removed logging from common module
  * fixed tests
2020-05-28 19:30:23 +01:00
Vikas Potluri 9254f94407
Refactored migrations to destructure `common` lib import (#11837) 2020-05-25 09:48:50 +01:00
Kevin Ansfield 39db5bd177 Prefixed 3.0 migrations with `0` to preserve order
no issue

- `knex-migrator` will run migrations in the order that nodejs provides when running `fs.readDirSync` which in most cases is strict alphabetical
- 3.0 will shortly have more than 9 migrations which was resulting in the migration order being 1, 10, 2
- prefixing all single-digit migrations with `0` means that strict alphabetical ordering results in the expected order
2019-09-16 13:21:39 +01:00
Renamed from core/server/data/migrations/versions/3.0/1-remove-user-ghost-auth-columns.js (Browse further)