Set default total allowance to 10
All checks were successful
Backend Build and Test / build (push) Successful in 2m5s

This commit is contained in:
2025-05-25 14:53:31 +02:00
parent f9fb956efd
commit 67dbcd053d
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
alter table users rename column weight to weight_old;
alter table users add column weight real not null default 10.0;
update users set weight = weight_old;
alter table users drop column weight_old;