Forums

default sqlite database to postgresql.

I have completed my web app, now i want to update my database sqlite to postgresql. Do i have to recode my web app again or the system will tackle the existing migrations and modelfields, the views, the urls, the files. thank You

You mention migrations, so I guess you've used a framework with an ORM -- for example, Django, or Flask with SQLAlchemy -- in which case you should just need to change your database connection details to point it at the Postgres server and migrate the database to build the tables that you need, then everything should work fine with no other code changes. If you want to move the data across from your SQLite DB, that might be trickier.