-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1831941 - Ingest replicates in a new PerformanceDatumReplicate ta…
…ble. (#7693) * Bug XXX - Ingest replicates in a new PerformanceDatumReplicate table. * Changes * changes * changes * lint fixes
- Loading branch information
Showing
3 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
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
29 changes: 29 additions & 0 deletions
29
treeherder/perf/migrations/0049_performancedatumreplicate.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,29 @@ | ||
# Generated by Django 4.0.8 on 2023-05-08 17:59 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
('perf', '0048_performancedatum_application_version'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='PerformanceDatumReplicate', | ||
fields=[ | ||
('id', models.BigAutoField(primary_key=True, serialize=False)), | ||
('value', models.FloatField()), | ||
( | ||
'performance_datum', | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, to='perf.performancedatum' | ||
), | ||
), | ||
], | ||
options={ | ||
'db_table': 'performance_datum_replicate', | ||
}, | ||
), | ||
] |
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