storj/scripts
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 satellite/payments: Convert coupon duration to be nullable 2021-04-01 16:28:23 +02:00
tests build: replace 'multipart-upload' branch occurences 2021-03-31 11:06:47 +02:00
waitlist Waitlist script (#573) 2018-11-06 18:43:20 +01:00
build-wasm.sh build: added brotli compression for wasm bits 2020-12-17 19:23:53 +00:00
cert-gating.sh Delete Bootstrap and Kademlia (#2974) 2019-10-04 16:48:41 -04:00
deploy-storagenode.sh Makefile,scripts: move from aarch64 to arm64v8 (#4008) 2020-12-21 14:50:57 +01:00
deploy-watchtower.sh Script for deploying the Docker manifest for watchtower (#3015) 2019-09-12 17:38:48 +03:00
gerrit-cla.py gerrit: add cla 2019-06-19 18:28:53 +00:00
install-awscli.sh Travis with go1.11 and modules (#479) 2018-10-16 20:02:00 +03:00
pg-to-crdb.go all: fix comments 2020-07-16 19:13:14 +03:00
postgres-dev.sh satellite/testing: Change testing to use PG 12.3 (#3913) 2020-06-25 20:17:39 +03:00
redis-server.sh scripts: Do not use Docker for test-sim Redis test 2021-03-22 08:43:53 +00:00
release.sh release: remove binary stripping 2020-10-14 10:06:20 +03:00
tag-release.sh private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00
test-backwards.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-billing.sh tests: fix calculation of previous month for billing integration test 2021-03-29 10:38:59 +02:00
test-certificates.sh fix certificates auth export command (#3110) 2019-09-24 10:38:18 -06:00
test-network-stalls.go all: fix dots 2020-07-16 14:58:28 +00:00
test-sim-backwards-dev.sh metainfo-migration: basic pointerdb->metabase migrator 2021-01-12 12:59:53 +00:00
test-sim-backwards.sh metainfo-migrator: improve performance 2021-02-11 17:33:22 +01:00
test-sim-dev.sh scripts: use postgres script with all tests (#3404) 2019-10-31 07:03:54 -07:00
test-sim-redis-up-and-down-dev.sh scripts: Do not use Docker for test-sim Redis test 2021-03-22 08:43:53 +00:00
test-sim-redis-up-and-down.sh scripts: Do not use Docker for test-sim Redis test 2021-03-22 08:43:53 +00:00
test-sim.sh satellite/metainfo: fix for getting real RS values 2021-02-16 17:26:09 +01:00
test-uplink-redis-up-and-down.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-uplink-rs-download.sh satellite/metainfo: fix for getting real RS values 2021-02-16 17:26:09 +01:00
test-uplink-rs-upload.sh satellite/metainfo: fix for getting real RS values 2021-02-16 17:26:09 +01:00
test-uplink-share.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-uplink.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00
test-wasm-size.sh satellite/console/wasm: add test to confirm wasm size isnt growing 2021-01-21 15:48:49 +00:00
update-access.go scripts: remove lib/uplink from update-access 2020-05-29 13:35:10 +03:00
utils.sh test-sim: improve integration test scripts 2021-03-31 16:48:53 +00:00