production mode db is changed to postgres.
tablesort javascript problem fixed.