Ghost/core/server/data/migrations/versions
Rishabh cfaddf82e8 Added migration to rename product as site title
refs https://github.com/TryGhost/Team/issues/667

On clean and existing installs, the default product created should be named the same as the site title in the first setup so the UX on Portal and everywhere is consistent. This change adds a migration to update existing sites which already have a default product created via fixture, and rename them to their current site title. The rename is only done if the Product name is still the same as in fixture - `Default Product`.
2021-05-11 00:00:12 +05:30
..
1.3 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.4 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.5 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.7 Removed all clients and client_trusted_domains related code 2019-09-12 15:09:49 +01:00
1.9 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.13 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
1.18 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
1.19 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
1.20 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.21 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
1.22 Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
1.25 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.0 Fixed mobiledoc errors when upgrading from v1/v2 to v4 (#12741) 2021-03-09 10:51:44 +00:00
2.2 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.3 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
2.6 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.8 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.13 💡Reverted "empty-string to NULL" db migration (#10430) 2019-01-29 14:41:04 +00:00
2.14 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.15 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
2.16 Removed 2.16 member permission migration 2019-05-02 17:31:38 +02:00
2.17 Refactored 'add column' migrations to use helper 2020-11-25 13:56:10 +00:00
2.18 Fixed "no-shadow" linting error in server/data modules (#12288) 2020-10-20 11:56:46 +13:00
2.21 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.22 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
2.27 Added missing Bluebird requires 2020-11-05 11:55:14 +00:00
2.28 Fixed typo in migration to add backupContent permission (#12777) 2021-03-18 14:52:12 +00:00
2.29 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.31 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.32 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.33 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
2.34 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
2.35 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
2.37 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.0 Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
3.1 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.2 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
3.6 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.7 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.8 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
3.9 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.11 Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
3.12 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.18 Updated ALL permissions migrations to use the utils 2020-06-25 19:15:25 +02:00
3.19 Added migration updating members from address with domain 2020-06-08 23:47:02 +05:30
3.22 Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
3.23 Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
3.24 Added missing Bluebird requires 2020-11-05 11:55:14 +00:00
3.25 Fixed version for amp_gtag_id setting migration 2020-07-15 15:33:37 +02:00
3.26 Fixed version for amp_gtag_id setting migration 2020-07-15 15:33:37 +02:00
3.29 🐛 Fixed failing migration from <2.34 to 3.29 2020-08-17 18:31:00 +01:00
3.30 Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
3.32 Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
3.33 Refactored 'add table' migrations to use helper 2020-11-25 13:56:10 +00:00
3.34 Added tokens table to the database 2020-09-17 16:08:35 +01:00
3.35 Refactored column migrations to use helpers (#12360) 2020-11-16 11:55:51 +00:00
3.36 Added snippets permissions migration and fixtures (#12283) 2020-10-16 12:53:09 +01:00
3.37 Enabled Portal (#12317) 2020-11-03 14:36:21 +05:30
3.38 🐛 Fixed migration for SQLite3 (#12371) 2020-11-17 16:39:42 +00:00
3.39 Added migrations for email analytics (#12387) 2020-11-25 17:48:24 +00:00
3.40 Added members.email_{count,opened_count} column migrations (#12470) 2020-12-09 12:21:56 +00:00
3.41 Added FirstPromoter Integration (#12540) 2021-01-15 19:05:15 +05:30
4.0 Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
4.1 🐛 Fixed unable to delete member (#12784) 2021-03-18 22:20:58 +05:30
4.2 Added migration to fix incorrect mrr events (#12837) 2021-04-06 21:14:54 +05:30
4.3 Updated active column type from boolean -> bool 2021-05-07 16:37:38 +01:00
4.4 Migrated 'invite' to 'all' for sites that were not truly invite-only (#12907) 2021-05-04 09:50:29 +01:00
4.5 Added migration to rename product as site title 2021-05-11 00:00:12 +05:30