diff --git a/internal/database/database.go b/internal/database/database.go index 2a3fce9..3067104 100644 --- a/internal/database/database.go +++ b/internal/database/database.go @@ -58,6 +58,7 @@ func Open(config model.Config) (db *sqlx.DB, err error) { // Generate views tx.MustExec(ddlCreateViewAccountTotal) + tx.MustExec(ddlCreateViewCumulativeAmount) // Commit transaction err = tx.Commit()