Skip to content

Commit

Permalink
chore: Squash Experiment -> Block related migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jul 9, 2024
1 parent 23bc421 commit df434a7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 56 deletions.
19 changes: 0 additions & 19 deletions backend/experiment/migrations/0042_rename_experiment_to_block.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
# Generated by Django 4.2.11 on 2024-07-03 09:00
# Generated by Django 4.2.11 on 2024-07-03 09:11

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


class Migration(migrations.Migration):

replaces = [('experiment', '0042_rename_experiment_to_block'), ('experiment', '0043_alter_groupedexperiment_options_and_more'), ('experiment', '0044_rename_groupedexperiment_groupedblock'), ('experiment', '0045_rename_experiment_feedback_block')]

dependencies = [
('experiment', '0042_rename_experiment_to_block'),
('experiment', '0041_socialmediaconfig'),
]

operations = [
migrations.RenameModel(
old_name='Experiment',
new_name='Block',
),
migrations.RenameField(
model_name='groupedexperiment',
old_name='experiment',
new_name='block',
),
migrations.AlterModelOptions(
name='groupedexperiment',
options={'ordering': ['index'], 'verbose_name_plural': 'Grouped Blocks'},
Expand All @@ -34,4 +45,13 @@ class Migration(migrations.Migration):
name='phase',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='blocks', to='experiment.phase'),
),
migrations.RenameModel(
old_name='GroupedExperiment',
new_name='GroupedBlock',
),
migrations.RenameField(
model_name='feedback',
old_name='experiment',
new_name='block',
),
]

This file was deleted.

This file was deleted.

0 comments on commit df434a7

Please sign in to comment.