Skip to content

Commit

Permalink
fix: Update the migration to make it compatible with postgresql and m…
Browse files Browse the repository at this point in the history
…ysql.
  • Loading branch information
qasimgulzar committed Nov 11, 2024
1 parent f9d5ec0 commit be0a5ee
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions edx_when/migrations/0005_auto_20190911_1056.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,35 @@


class Migration(migrations.Migration):

dependencies = [
('edx_when', '0004_datepolicy_rel_date'),
]

operations = [
migrations.AlterField(
migrations.RemoveField(
model_name='datepolicy',
name='abs_date'
),
migrations.AddField(
model_name='datepolicy',
name='abs_date',
field=models.DateTimeField(blank=True, db_index=True, null=True),
),
migrations.AlterField(
migrations.RemoveField(
model_name='datepolicy',
name='rel_date'
),
migrations.AddField(
model_name='datepolicy',
name='rel_date',
field=models.DurationField(blank=True, db_index=True, null=True),
),
migrations.AlterField(

migrations.RemoveField(
model_name='userdate',
name='rel_date'
),
migrations.AddField(
model_name='userdate',
name='rel_date',
field=models.DurationField(blank=True, db_index=True, null=True),
Expand Down

0 comments on commit be0a5ee

Please sign in to comment.