0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
Fabien 'egg' O'Carroll 4e326123d3
Updated Offers related tables (#13609)
no-issue

* Removed NOT_NULL constraint from stripe_coupon_id

When handling disconnecting from Stripe - we remove all Stripe data from
our database to ensure we do not have bad/invalid data stored. Removing
this constraint will allow us to set the value to NULL.

* Added created_at column to offer_redemptions

Offer Redemptions are not just a joining table, but an event. A created_at
date allows them to be ordered

Because this is in alpha it is simpler to just drop the tables and
re-add them, due to offer_redemptions depending on offers, we also drop
this table and re-add it.
2021-10-20 14:22:37 +02:00
..
adapters Reworked LocalFileStore methods to use async syntax 2021-10-20 10:29:46 +04:00
api Moved URL service to backend 2021-10-19 07:29:09 +13:00
data Updated Offers related tables (#13609) 2021-10-20 14:22:37 +02:00
lib Refactored tpl to never be used in DI 2021-10-11 15:19:54 +01:00
models Added OfferRedemption model 2021-10-15 16:56:04 +02:00
services Moved URL service to backend 2021-10-19 07:29:09 +13:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Renamed bootstrap to routerManager 2021-10-19 07:29:09 +13:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js Set global Luxon timezone override to UTC 2021-10-20 09:19:29 +02:00
run-update-check.js Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
update-check.js Fixed critical alerts sending to admin users 2021-07-07 11:29:18 +04:00