storj/cmd
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
..
certificates certificate/authorization: add ctx to OpenDB 2020-10-29 09:46:23 +02:00
identity pkg/revocation: pass ctx into opening the database 2020-10-29 07:15:36 +00:00
inspector satellite/overlay: remove Inspector 2021-03-29 12:26:10 +03:00
internal go.mod: bump storj.io/common 2021-01-13 14:51:08 +00:00
metainfo-loop-benchmark satellite/metainfo/metaloop: move loop to a separate package 2021-03-23 15:37:34 +00:00
metainfo-migration metainfo-migration: fix flaky TestMigrator_SingleSegmentObj test 2021-03-29 17:31:58 +00:00
metainfo-verifier cmd/metainfo-verifier: verifies if metainfo migration is done correctly 2021-02-12 14:31:02 +00:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
multinode multinode/multinodedb: add sqlite3 support 2021-02-11 16:36:05 +00:00
satellite satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02:00
storagenode go.mod: bump storj.io/common 2021-01-13 14:51:08 +00:00
storagenode-updater go.mod: bump storj.io/common 2021-01-13 14:51:08 +00:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim satellite: remove referral program related code 2021-02-08 13:52:50 +00:00
uplink satellite/wasm: support restricting full access grants to paths 2021-03-26 19:49:21 +00:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00