storj/satellite/satellitedb/dbx
Stefan Benten 06944f062d satellite/{admin,payments,satellitedb}: add checks for deletion of free tier accounts
This change adds some more checks to the deletion process for projects and
users, since we ran into a race condition during invoicing, where projects
have been deleted before the invoicing was finished, leading to missing
references.
This PR changes the logic to block user deletion if we are in exactly that period,
while also allowing the deletion of projects/users on free tier during the month.

Change-Id: Ic0735205e6633762fb7e3c2fa13e744cdfa5ec32
2022-02-08 10:11:31 +00:00
..
templates satellite/dbx: standardize on assignment 2020-12-01 16:10:18 +00:00
cockroach.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
gen.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
gen.sh private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
satellitedb.dbx satellite/{admin,payments,satellitedb}: add checks for deletion of free tier accounts 2022-02-08 10:11:31 +00:00
satellitedb.dbx.go satellite/{admin,payments,satellitedb}: add checks for deletion of free tier accounts 2022-02-08 10:11:31 +00:00
satellitedb.dbx.pgx.sql satellite/satellitedb/dbx: add schema for oauth tokens 2022-01-18 09:38:12 -06:00
satellitedb.dbx.pgxcockroach.sql satellite/satellitedb/dbx: add schema for oauth tokens 2022-01-18 09:38:12 -06:00