Version:
Django 1.11
PostgreSQL 9.6 (AWS RDS)
Django settings.py:
TIME_ZONE = 'Asia/Seoul'
USE_TZ = False
My Problem:
In last year, My django app migrated database from MySQL to PostgreSQL. It was fine. But I found big trouble.
Tables that was generated in MySQL have DateTimeField, which correspond to naive timestamp field (without timezone) in PostgreSQL. But tables that was generated in PostgreSQL have DateTimeField, which correspond to aware timestamp field (with timezone). It stores all timestamp in UTC.
So My DB tables was messy with naive and aware timestamp field.
How do I fix this issue at best?
The Followings are solutions I think,
Convert naive timestamp fields to aware timestamp fields. I think It's best practice. But naive timestamp fields are too many. and I'm afraid that I lost data due to converting.
Convert aware timestamp fields to naive timestamp fields. I think It's one of easy ways. But I heard naive timestamp fields are not practice.
Nothing changed. Actually, I didn't know timestamp field is messy until I examine DB. Djano application has worked well now. But I worry It's big trouble in the future.
Change timezone setting in AWS RDS. Is it possible and solution?
Sorry for my poor english. Please advice.