1
Issue Solved.
In Migration files field name merchant_view was first declared as smallPositiveInteger.
So while migrating to postgresql it was accepting the first declaration.
So I deleted all migrated files and ran makemigrations it worked for me
Source:stackexchange.com