Skip to content

Commit

Permalink
fix err check
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Nov 24, 2023
1 parent 8871b2d commit ef4e354
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions db/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ func Init(database Database) error {
_, err = database.DB().Exec(
`CREATE INDEX IF NOT EXISTS job_applications_user_id_updated_at_idx ON job_applications(user_id, updated_at)`,
)
if err != nil {
return err
}

_, err = database.DB().Exec(
`CREATE TABLE IF NOT EXISTS job_application_notes (
Expand Down

0 comments on commit ef4e354

Please sign in to comment.