Fix precommit hook installation
typo
Fix rollback on first migration
Make emailSecret not nullable