Skip to content

Commit

Permalink
Merge pull request #5 from fathonidf/development
Browse files Browse the repository at this point in the history
migrations
  • Loading branch information
fathonidf authored Sep 21, 2023
2 parents 877a6ff + 0a6a577 commit 0d951d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
6 changes: 5 additions & 1 deletion main/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# Generated by Django 4.2.4 on 2023-09-06 08:15
# Generated by Django 4.2.4 on 2023-09-21 10:09

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

initial = True

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]

operations = [
Expand All @@ -19,6 +22,7 @@ class Migration(migrations.Migration):
('date_added', models.DateField(auto_now_add=True)),
('price', models.IntegerField()),
('description', models.TextField()),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]
22 changes: 0 additions & 22 deletions main/migrations/0002_product_user.py

This file was deleted.

0 comments on commit 0d951d2

Please sign in to comment.