Skip to content

Commit

Permalink
add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jefer94 committed Oct 22, 2024
1 parent 3dafe3a commit fd0eb5f
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
34 changes: 34 additions & 0 deletions breathecode/authenticate/migrations/0059_googlewebhook.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Generated by Django 5.1.2 on 2024-10-22 19:28

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("authenticate", "0058_credentialsgoogle_google_id"),
]

operations = [
migrations.CreateModel(
name="GoogleWebhook",
fields=[
("id", models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
(
"message",
models.SlugField(blank=True, help_text="base64 message provided by google", max_length=124),
),
(
"status",
models.CharField(
choices=[("PENDING", "Pending"), ("DONE", "Done"), ("ERROR", "Error")],
default="PENDING",
max_length=9,
),
),
("status_text", models.CharField(default="", max_length=255)),
("created_at", models.DateTimeField(auto_now_add=True)),
("updated_at", models.DateTimeField(auto_now=True)),
],
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by Django 5.1.2 on 2024-10-22 19:28

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
("mentorship", "0032_mentorshipsession_meta_and_more"),
]

operations = [
migrations.RemoveField(
model_name="mentorshipsession",
name="meta",
),
]

0 comments on commit fd0eb5f

Please sign in to comment.