chore: calculate total balance for space

This commit is contained in:
juancwu 2026-04-11 17:57:41 +00:00
commit 694b774986
6 changed files with 35 additions and 23 deletions

View file

@ -0,0 +1,9 @@
-- +goose Up
-- +goose StatementBegin
ALTER TABLE accounts ADD COLUMN balance TEXT NOT NULL DEFAULT '0.00';
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE accounts DROP COLUMN balance;
-- +goose StatementEnd