Skip to content

Commit

Permalink
Migrations make things work better.
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepman4267 committed Apr 27, 2023
1 parent 684aeb8 commit cf168fc
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
20 changes: 20 additions & 0 deletions hat/migrations/0002_item_pulled_at.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by Django 4.1.7 on 2023-04-27 03:22

import datetime
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('hat', '0001_initial'),
]

operations = [
migrations.AddField(
model_name='item',
name='pulled_at',
field=models.DateTimeField(default=datetime.datetime(2023, 4, 27, 3, 22, 53, 884823, tzinfo=datetime.timezone.utc)),
preserve_default=False,
),
]
18 changes: 18 additions & 0 deletions hat/migrations/0003_alter_item_pulled_at.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1.7 on 2023-04-27 13:48

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('hat', '0002_item_pulled_at'),
]

operations = [
migrations.AlterField(
model_name='item',
name='pulled_at',
field=models.DateTimeField(blank=True, null=True),
),
]

0 comments on commit cf168fc

Please sign in to comment.