ebeigarts / database_flusher

tiny and fast database cleaner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PG::InsufficientPrivilege: ERROR

rusikf opened this issue · comments

Hi, on running specs I get error with permissions, what the reason can be ?

Looks that I have problem with my db permissions

Failure/Error: DatabaseFlusher.clean
                                                                                                                                              
     ActiveRecord::StatementInvalid:
       PG::InsufficientPrivilege: ERROR:  permission denied: "RI_ConstraintTrigger_a_108124" is a system trigger 

The problem was in postgres user, after granting superuser permissions, everything works