storj/satellite/console/consoleweb
Moby von Briesen c334fd090e satellite/payments: Convert coupon duration to be nullable
* Add a nullable billing_periods column in the coupons table
* Add nullable billing_periods column to the currently unused
coupon_codes table
* Drop the duration column from the coupon_codes table
* Replace duration config type so that the default promotional coupon
can be configured to never expire

Zero downtime migration plan:
* Add billing_periods column to coupons and coupon_codes tables (this change)
* After one release, remove all references to the old duration column,
replacing with references to billing_periods. At this point, we can also
change the defult promotional coupon to never expire and migrate over
values from the old duration column.
* After another release, drop the duration column.

Change-Id: I374e8dc9fab9f81b4a5bc681771955662d4c007a
2021-04-01 16:28:23 +02:00
..
consoleapi satellite/analytics: Add analytics service to satellite 2021-03-25 13:28:51 -04:00
consoleql satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02:00
consolewebauth web/satellite: logout fix 2020-01-29 16:53:21 +00:00
server.go web/satellite: ui changes to registration and billing pages to enable user to add promo codes to their account 2021-03-26 11:57:11 -04:00
utils.go all: fix dots 2020-07-16 14:58:28 +00:00