SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "mdm_activity" does not exist
LINE 1: select * from mdm_activity where id='865'
                      ^