storj/satellite/console/consoleweb/consoleql
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
..
testdata web/satellie: added missing alt attribute to img tags (#3172) 2019-10-04 16:22:26 +03:00
apikey.go all: add missing dots 2020-08-11 17:50:01 +03:00
mail.go all: add missing dots 2020-08-11 17:50:01 +03:00
mutation_test.go satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02:00
mutation.go satellite/console: Add more validation for console requests 2020-10-07 15:33:28 +00:00
project.go satellite/console: Add graphql query for owned projects 2021-01-25 17:43:04 +00:00
projectmember.go all: add missing dots 2020-08-11 17:50:01 +03:00
query_test.go satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02:00
query.go web/satellite, web/marketing: remove referral program related UI code 2021-02-08 11:07:35 -05:00
reward.go all: add missing dots 2020-08-11 17:50:01 +03:00
schema.go all: fix dots 2020-07-16 14:58:28 +00:00
typecreator.go web/satellite, web/marketing: remove referral program related UI code 2021-02-08 11:07:35 -05:00
user.go all: add missing dots 2020-08-11 17:50:01 +03:00