Skip to content

Commit

Permalink
chore: migrate sqlite into mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzenaali committed Jan 26, 2024
1 parent 7df0240 commit ca73f50
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
"default": {
"ENGINE": "django.db.backends.mysql",
"NAME": "vintage",
"HOST": "localhost",
"PORT": "3306",
"USER": "root",
"PASSWORD": "",
}
}

Expand Down

0 comments on commit ca73f50

Please sign in to comment.