-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bring back auto_now_add for dates (#195)
- Loading branch information
1 parent
87bfc3a
commit bd1c6a1
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
backend/donations/migrations/0010_alter_donor_date_created_alter_ngo_date_created.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.2.10 on 2024-02-23 09:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("donations", "0009_alter_donor_date_created_alter_ngo_date_created"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="donor", | ||
name="date_created", | ||
field=models.DateTimeField(auto_now_add=True, db_index=True, verbose_name="date created"), | ||
), | ||
migrations.AlterField( | ||
model_name="ngo", | ||
name="date_created", | ||
field=models.DateTimeField(auto_now_add=True, db_index=True, verbose_name="date created"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.2.10 on 2024-02-23 09:22 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("users", "0005_alter_user_date_created"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="user", | ||
name="date_created", | ||
field=models.DateTimeField(auto_now_add=True, db_index=True, verbose_name="date created"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters