Skip to content

Commit

Permalink
Fix database error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Droid00000 committed Nov 17, 2024
1 parent ce8ee24 commit c18787e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frost/model/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def booster_records(server: nil, user: nil, role: nil, type: nil)
when :unban
POSTGRES[:Banned_Boosters].where(server_id: server, user_id: user).delete
when :reset_status
POSTGRES[:Server_Boosters].where(status: false).insert(status: true)
POSTGRES[:Server_Boosters].where(status: true).insert(status: false)
when :update_status
POSTGRES[:Server_Boosters].where(server_id: server, user_id: user, status: false).insert(status: true)
when :get_boosters
Expand Down

0 comments on commit c18787e

Please sign in to comment.