0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server
Daniel Lockyer f48a668671 Removed unused defaults from text columns in schema
refs https://github.com/TryGhost/Toolbox/issues/309

- I originally started looking at this because I wanted to change the default of
  `emails.recipient_filter` for old DBs to `status:-free`
- we changed these columns to a `text` type, which doesn't support
  defaults
- the tables already have defaults set in the model, so the only change
  needed here is to delete the `defaultTo` in the schema to avoid
  confusion
- on the way, I ended up fixing 51498abb5c too
2022-05-09 14:31:35 +01:00
..
adapters 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
api Included newsletter relation by default in posts (#14723) 2022-05-09 11:06:59 +02:00
data Removed unused defaults from text columns in schema 2022-05-09 14:31:35 +01:00
lib Added gravatar URL to config to make it configurable (#14490) 2022-05-09 12:44:04 +01:00
models Removed permissions handling of "author_id" 2022-05-09 20:34:06 +08:00
services Fixed missing failed request URL if version emails 2022-05-09 20:11:25 +08:00
views Updated unsubscribe page 2022-03-10 10:39:20 +00:00
web Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
analytics-events.js
ghost-server.js Removed config and bluebird from ghost-server 2022-04-28 15:37:10 +01:00
notify.js Removed unused import 2021-12-06 08:17:07 +00:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
update-check.js 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00