Remove null check on sql

Removing the null check the performance is improved a lot.

Add a warn for the users who update the gem and have the deleted column nullable.