-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d56944
commit 40f9ee9
Showing
7 changed files
with
286 additions
and
260 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
35 changes: 35 additions & 0 deletions
35
.../reputation-backend/api/migrations/0030_nodestatushistory_provider_created_at_and_more.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,35 @@ | ||
# Generated by Django 4.1.7 on 2024-02-20 14:22 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0029_cpubenchmark_created_at_diskbenchmark_created_at_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='NodeStatusHistory', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('is_online', models.BooleanField()), | ||
('timestamp', models.DateTimeField(auto_now_add=True)), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name='provider', | ||
name='created_at', | ||
field=models.DateTimeField(auto_now_add=True, null=True), | ||
), | ||
migrations.DeleteModel( | ||
name='NodeStatus', | ||
), | ||
migrations.AddField( | ||
model_name='nodestatushistory', | ||
name='provider', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.provider'), | ||
), | ||
] |
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
11 changes: 9 additions & 2 deletions
11
docker-stack/golem-reputation-backend/reputation-backend/api/ping.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
Oops, something went wrong.