Fix: Changing boolean to integer for Postgres

Closes #2751, CakeDC/migrations#149
Merge pull request #2752 from rchavik/2.4-postgres-alterschema

Fix: Changing boolean to integer for Postgres