Move or Migrate SQLite Data to PostgreSQL | MySQL | MariaDB Database in Django 3 #django

preview_player
Показать описание
👋🏽 Hi there, I'm going to show you how to move or migrate SQLite Data to PostgreSQL or MySQL, or MariaDB Databases in Django
This is a time-saving tip that will help you to easily switch databases or prepare your Django project for deployment.
This helps me a lot, as I use real data in my SQLite during development and when switching to a production-ready database, I can quickly move the content of the old database into my new database

00:00 Start
00:06 Introduction

00:29 Set Up your project or use the project I used
🔗 Project Link

01:30 Save Database content to a JSON file

02:00 Set Up Aand Create New Database
🔗 Set Up PostgreSQL and PgAdmin

02:36 Connect your New Database to your project
🔗 Django documentation📚 for database setup

04:02 Apply Migrations to create tables in the new database

05:01 Exclude ContentType Data
# Exclude Contentype data
- quit()

06:20 Load data from JSON file into your new database
🔗 Move data

🙏🏽 Thanks for watching🤸🏼‍♂️
🙏🏽 LIKE, SUBSCRIBE, AND SHARE
If you have any questions, do not hesitate to comment or send us a mail. We will reply as soon as possible.
Thanks

Let's Connect
Errors! Join Our Discord for Help

Background Music produced by H3 Music
Рекомендации по теме
Комментарии
Автор

I was stuck in an error regarding content type and you showed that the solution was so simple, thank u so much!

gabrielkozonski
Автор

U just saved a life, I will personally start broadcasting ur content

nwalozieamamihechibuzor
Автор

Mate you're an absolute legend thanks so much

Gnenguin
Автор

Nice video bro.
Thanks for this..
Excellent project!

DanieltheProgrammer
Автор

Thank you so much broo..you helped me a lot

jasniyant
Автор

Excellent explanation
There is way to upload local postgresql to heroku ?

osamaelshaer
Автор

how to convert mysql database in all tables convert in postgresql using python script
? pls give.. create solution video pls?

GUNA_Vlogs
Автор

спасибо, работает, но не удалось перенести данные из-за кодирования

gamehamster