0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/migration/fixtures
kirrg001 ec176c243a Force UTC at process level
issues #6406 #6399
- all dates are stored as UTC with this commit
- use moment.tz.setDefault('UTC')
- add migration file to recalculate local datetimes to UTC
- store all dates in same format into our three supported databases
- add option to remeber migrations inside settings (core)
- support DST offset for migration
- ensure we force UTC in test env
- run whole migration as transaction
- extend: Settings.findOne function
2016-06-02 13:23:09 +02:00
..
004 Improve fixtures & population code 2016-03-31 11:48:44 +01:00
005 Subscribers: Migrations for new table + perms 2016-05-11 10:28:10 +02:00
006 Force UTC at process level 2016-06-02 13:23:09 +02:00
fixtures.json Subscribers: Migrations for new table + perms 2016-05-11 10:28:10 +02:00
index.js Split migrations/index.js & add tests 2016-03-15 10:11:33 +00:00
populate.js Improve code for handling fixture migrations 2016-04-10 19:02:22 +01:00
settings.js Migration messaging improvements 2016-03-22 09:59:22 +00:00
update.js Improve fixtures & population code 2016-03-31 11:48:44 +01:00
utils.js Improve code for handling fixture migrations 2016-04-10 19:02:22 +01:00