Set default total allowance to 10 (#83)
Some checks failed
Backend Build and Test / build (push) Has started running
Backend Deploy / build (push) Has been cancelled

Reviewed-on: #83
This commit is contained in:
2025-05-25 15:04:59 +02:00
parent f9fb956efd
commit 8cbfff81f6
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;