Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
applied migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Yacobolo committed Nov 9, 2023
1 parent 4b49474 commit 0171e90
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions backend/api/migrations/0002_user_resources_alter_user_role.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.2.5 on 2023-11-09 07:35

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


class Migration(migrations.Migration):
dependencies = [
("api", "0001_initial"),
]

operations = [
migrations.AddField(
model_name="user",
name="resources",
field=models.ManyToManyField(related_name="users", to="api.resource"),
),
migrations.AlterField(
model_name="user",
name="role",
field=models.ForeignKey(
default=3, on_delete=django.db.models.deletion.DO_NOTHING, to="api.role"
),
),
]

0 comments on commit 0171e90

Please sign in to comment.