Skip to content

Commit

Permalink
Fix: forgot to create view for cumulative amount
Browse files Browse the repository at this point in the history
  • Loading branch information
RadhiFadlillah committed Mar 23, 2020
1 parent fcf4d99 commit f8aeb42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f8aeb42

Please sign in to comment.