Added on delete constraints, fixed fetch_row in keywords query`
Fixed on delete in Pages table
 Please enter the commit message for your changes. Lines starting