How can I easily convert a Django app from mySQL to PostgreSQL?

后端 未结 7 1891
一个人的身影
一个人的身影 2021-01-31 12:04

Has anyone done this? Is it an easy process? We\'re thinking of switching over for transactions and because mysql seems to be \"crapping out\" lately.

相关标签:
7条回答
  • 2021-01-31 12:24

    You can do that using Django serializers to output the data from MySQL's format into JSON and then back into Postgres. There are some good artices on internet about that:

    Migrating Django from MySQL to PostgreSQL the Easy Way

    Move a Django site to PostgreSQL: check

    0 讨论(0)
提交回复
热议问题