5 Commits

Author SHA1 Message Date
48e1ee0d4c Merge pull request 'handle-deleted-boats' (#1170) from handle-deleted-boats into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 18m25s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 28m8s
Reviewed-on: #1170
2026-01-03 14:18:37 +01:00
a891fb4803 No need to pay for deleted boats
All checks were successful
CI/CD Pipeline / test (push) Successful in 36m37s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2026-01-03 13:27:55 +01:00
c92c5526c3 Merge pull request 'yeaerly-cleanup' (#1160) from yeaerly-cleanup into staging
Some checks failed
CI/CD Pipeline / test (push) Failing after 24m59s
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
Update Cargo Dependencies / update-dependencies (push) Successful in 1m27s
Reviewed-on: #1160
2025-11-21 10:35:07 +01:00
5c1d8876be more-robust-ui-tests (#1157)
All checks were successful
CI/CD Pipeline / test (push) Successful in 20m22s
CI/CD Pipeline / deploy-staging (push) Successful in 34m20s
CI/CD Pipeline / deploy-main (push) Has been skipped
Update Cargo Dependencies / update-dependencies (push) Successful in 2m17s
Co-authored-by: Philipp Hofer <philipp.hofer@mag.linz.at>
Reviewed-on: #1157
Co-authored-by: Philipp Hofer <philipp@hofer.link>
Co-committed-by: Philipp Hofer <philipp@hofer.link>
2025-11-20 19:20:43 +01:00
e89c5c7439 Merge pull request 'Update src/model/mail.rs' (#1155) from bank-name-mention into staging
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
Reviewed-on: #1155
2025-11-20 08:19:19 +01:00

View File

@@ -136,7 +136,7 @@ impl User {
pub async fn amount_boats(&self, db: &SqlitePool) -> i64 {
sqlx::query!(
"SELECT COUNT(*) as count FROM boat WHERE owner = ?",
"SELECT COUNT(*) as count FROM boat WHERE owner = ? and deleted = 0",
self.id
)
.fetch_one(db)