Hard caps on creating projects/orgs/collections (#4430)

* implement backend limits on project creation

* implement collection, org creation hard caps

* Fix limit api

* Fix clippy

* Fix limits

* Update sqlx queries

* Address PR comments on user limit structure

* sqlx prepare and clippy

* fix test maybe
This commit is contained in:
aecsocket
2025-09-28 11:01:00 +01:00
committed by GitHub
parent 3f55711f9e
commit f466470d06
503 changed files with 14260 additions and 11 deletions
@@ -0,0 +1,29 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT created, SUM(amount) sum\n FROM payouts_values\n WHERE created BETWEEN $1 AND $2\n GROUP BY created\n ORDER BY created DESC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "created",
"type_info": "Timestamptz"
},
{
"ordinal": 1,
"name": "sum",
"type_info": "Numeric"
}
],
"parameters": {
"Left": [
"Timestamptz",
"Timestamptz"
]
},
"nullable": [
false,
null
]
},
"hash": "652a5765bda0b78034a291e382a063126529d91f308cbafed2c6e635a3013b30"
}