From 3cdfb94fe2bb4423683d4ac23615f9130c987831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 2 Jan 2023 19:36:03 +0100 Subject: [PATCH] Clean up migrations, do not include database --- src/web/db.sqlite3 | Bin 167936 -> 0 bytes src/web/tracker/fixtures/sample.yaml | 98 +++++++++++++++++ src/web/tracker/migrations/0001_initial.py | 78 ++++++++++++- ...rm_purchase_session_delete_trackermodel.py | 104 ------------------ ..._alter_purchase_date_purchased_and_more.py | 23 ---- .../0004_alter_purchase_date_refunded.py | 18 --- .../0005_alter_purchase_date_refunded.py | 18 --- ...er_session_duration_calculated_and_more.py | 28 ----- 8 files changed, 172 insertions(+), 195 deletions(-) delete mode 100644 src/web/db.sqlite3 create mode 100644 src/web/tracker/fixtures/sample.yaml delete mode 100644 src/web/tracker/migrations/0002_game_platform_purchase_session_delete_trackermodel.py delete mode 100644 src/web/tracker/migrations/0003_alter_purchase_date_purchased_and_more.py delete mode 100644 src/web/tracker/migrations/0004_alter_purchase_date_refunded.py delete mode 100644 src/web/tracker/migrations/0005_alter_purchase_date_refunded.py delete mode 100644 src/web/tracker/migrations/0006_alter_session_duration_calculated_and_more.py diff --git a/src/web/db.sqlite3 b/src/web/db.sqlite3 deleted file mode 100644 index 5d2ce5ae5ed6c9ad9c4cb3f570d9d637cdf24955..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 167936 zcmeI5e{36Rdfz!BC5qyYSF)_7cV(|el(iODmQ4;xk<#|MtF^gaWo5~hr8f)NOfFSQmDIgj<$bUD=%w}I(ne9fxw?G)W>H>Vy4&WDt;mCeuV*-g16bTyUMHZ%F0X7`3&Dt2%;*ha^6ee9M{ z4_M+7$^CaC!T8dW^x&12wplffQ*rc*jV+>S&n@1ZsM&~(rPo)A&iTY^$g$EyB3GzG zxAlg+y0#&&-dtIcudOd%U0S~-zg4^?FWuZ&TV5rXSBt9~Bvm-+S!%ubMsdBkd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OsDJcM zM?zj(?Kb7jaMYMcwuhI3@imf{?k#VdzPp-BQ}S9qoi3HV(k73P<}H7)EYmWP+~0dG z7@wPy9-a|{*IT1^f5ts%z1fd6VEOn|t*$o*qjRiUT8}k^xbd-vkF#@*<=rZ9>>5Pd z8v52A4aZK?=m<{I$$g};@k~!Gr{=uw6s6%8ae#< iw3LfuwYO@=Vf?52^gCSfy~>>m9g>GmHzBelX diff --git a/src/web/tracker/fixtures/sample.yaml b/src/web/tracker/fixtures/sample.yaml new file mode 100644 index 0000000..546ebc1 --- /dev/null +++ b/src/web/tracker/fixtures/sample.yaml @@ -0,0 +1,98 @@ +- model: tracker.game + pk: 1 + fields: + name: Nioh 2 + wikidata: Q67482292 +- model: tracker.game + pk: 2 + fields: + name: Elden Ring + wikidata: Q64826862 +- model: tracker.game + pk: 3 + fields: + name: Cyberpunk 2077 + wikidata: Q3182559 +- model: tracker.purchase + pk: 1 + fields: + game: 1 + platform: 1 + date_purchased: 2021-02-13 + date_refunded: null +- model: tracker.purchase + pk: 2 + fields: + game: 2 + platform: 1 + date_purchased: 2022-02-24 + date_refunded: null +- model: tracker.purchase + pk: 3 + fields: + game: 3 + platform: 1 + date_purchased: 2020-12-07 + date_refunded: null +- model: tracker.platform + pk: 1 + fields: + name: Steam + group: PC +- model: tracker.platform + pk: 3 + fields: + name: Xbox Gamepass + group: PC +- model: tracker.platform + pk: 4 + fields: + name: Epic Games Store + group: PC +- model: tracker.platform + pk: 5 + fields: + name: Playstation 5 + group: Playstation +- model: tracker.platform + pk: 6 + fields: + name: Playstation 4 + group: Playstation +- model: tracker.platform + pk: 7 + fields: + name: Nintendo Switch + group: Nintendo +- model: tracker.platform + pk: 8 + fields: + name: Nintendo 3DS + group: Nintendo +- model: tracker.session + pk: 1 + fields: + purchase: 2 + timestamp_start: 2022-12-31 14:25:58+00:00 + timestamp_end: 2022-12-31 16:25:22+00:00 + duration_manual: null + duration_calculated: null + note: '' +- model: tracker.session + pk: 3 + fields: + purchase: 3 + timestamp_start: 2023-01-01 22:00:23+00:00 + timestamp_end: 2023-01-01 23:28:23+00:00 + duration_manual: null + duration_calculated: null + note: '' +- model: tracker.session + pk: 4 + fields: + purchase: 3 + timestamp_start: 2020-01-01 23:29:17+00:00 + timestamp_end: 2020-01-01 23:29:17+00:00 + duration_manual: '12:00:00' + duration_calculated: null + note: '' diff --git a/src/web/tracker/migrations/0001_initial.py b/src/web/tracker/migrations/0001_initial.py index 920c4a8..b7107cc 100644 --- a/src/web/tracker/migrations/0001_initial.py +++ b/src/web/tracker/migrations/0001_initial.py @@ -1,6 +1,7 @@ -# Generated by Django 4.1.4 on 2022-12-30 22:02 +# Generated by Django 4.1.4 on 2023-01-02 18:27 from django.db import migrations, models +import django.db.models.deletion class Migration(migrations.Migration): @@ -11,7 +12,68 @@ class Migration(migrations.Migration): operations = [ migrations.CreateModel( - name="TrackerModel", + name="Game", + fields=[ + ( + "id", + models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ("name", models.CharField(max_length=255)), + ("wikidata", models.CharField(max_length=50)), + ], + ), + migrations.CreateModel( + name="Platform", + fields=[ + ( + "id", + models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ("name", models.CharField(max_length=255)), + ("group", models.CharField(max_length=255)), + ], + ), + migrations.CreateModel( + name="Purchase", + fields=[ + ( + "id", + models.BigAutoField( + auto_created=True, + primary_key=True, + serialize=False, + verbose_name="ID", + ), + ), + ("date_purchased", models.DateField()), + ("date_refunded", models.DateField(blank=True, null=True)), + ( + "game", + models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, to="tracker.game" + ), + ), + ( + "platform", + models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + to="tracker.platform", + ), + ), + ], + ), + migrations.CreateModel( + name="Session", fields=[ ( "id", @@ -22,10 +84,18 @@ class Migration(migrations.Migration): verbose_name="ID", ), ), - ("name", models.CharField(max_length=200)), ("timestamp_start", models.DateTimeField()), ("timestamp_end", models.DateTimeField()), - ("note", models.TextField()), + ("duration_manual", models.DurationField(blank=True, null=True)), + ("duration_calculated", models.DurationField(blank=True, null=True)), + ("note", models.TextField(blank=True, null=True)), + ( + "purchase", + models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + to="tracker.purchase", + ), + ), ], ), ] diff --git a/src/web/tracker/migrations/0002_game_platform_purchase_session_delete_trackermodel.py b/src/web/tracker/migrations/0002_game_platform_purchase_session_delete_trackermodel.py deleted file mode 100644 index 49befe8..0000000 --- a/src/web/tracker/migrations/0002_game_platform_purchase_session_delete_trackermodel.py +++ /dev/null @@ -1,104 +0,0 @@ -# Generated by Django 4.1.4 on 2022-12-31 12:35 - -from django.db import migrations, models -import django.db.models.deletion - - -class Migration(migrations.Migration): - - dependencies = [ - ("tracker", "0001_initial"), - ] - - operations = [ - migrations.CreateModel( - name="Game", - fields=[ - ( - "id", - models.BigAutoField( - auto_created=True, - primary_key=True, - serialize=False, - verbose_name="ID", - ), - ), - ("name", models.CharField(max_length=255)), - ("wikidata", models.CharField(max_length=50)), - ], - ), - migrations.CreateModel( - name="Platform", - fields=[ - ( - "id", - models.BigAutoField( - auto_created=True, - primary_key=True, - serialize=False, - verbose_name="ID", - ), - ), - ("name", models.CharField(max_length=255)), - ("group", models.CharField(max_length=255)), - ], - ), - migrations.CreateModel( - name="Purchase", - fields=[ - ( - "id", - models.BigAutoField( - auto_created=True, - primary_key=True, - serialize=False, - verbose_name="ID", - ), - ), - ("date_purchased", models.DateTimeField()), - ("date_refunded", models.DateTimeField()), - ( - "game", - models.ForeignKey( - on_delete=django.db.models.deletion.CASCADE, to="tracker.game" - ), - ), - ( - "platform", - models.ForeignKey( - on_delete=django.db.models.deletion.CASCADE, - to="tracker.platform", - ), - ), - ], - ), - migrations.CreateModel( - name="Session", - fields=[ - ( - "id", - models.BigAutoField( - auto_created=True, - primary_key=True, - serialize=False, - verbose_name="ID", - ), - ), - ("timestamp_start", models.DateTimeField()), - ("timestamp_end", models.DateTimeField()), - ("duration_manual", models.DurationField()), - ("duration_calculated", models.DurationField()), - ("note", models.TextField()), - ( - "purchase", - models.ForeignKey( - on_delete=django.db.models.deletion.CASCADE, - to="tracker.purchase", - ), - ), - ], - ), - migrations.DeleteModel( - name="TrackerModel", - ), - ] diff --git a/src/web/tracker/migrations/0003_alter_purchase_date_purchased_and_more.py b/src/web/tracker/migrations/0003_alter_purchase_date_purchased_and_more.py deleted file mode 100644 index c70ebb4..0000000 --- a/src/web/tracker/migrations/0003_alter_purchase_date_purchased_and_more.py +++ /dev/null @@ -1,23 +0,0 @@ -# Generated by Django 4.1.4 on 2022-12-31 13:03 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("tracker", "0002_game_platform_purchase_session_delete_trackermodel"), - ] - - operations = [ - migrations.AlterField( - model_name="purchase", - name="date_purchased", - field=models.DateField(), - ), - migrations.AlterField( - model_name="purchase", - name="date_refunded", - field=models.DateField(), - ), - ] diff --git a/src/web/tracker/migrations/0004_alter_purchase_date_refunded.py b/src/web/tracker/migrations/0004_alter_purchase_date_refunded.py deleted file mode 100644 index 67f0737..0000000 --- a/src/web/tracker/migrations/0004_alter_purchase_date_refunded.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 4.1.4 on 2022-12-31 13:04 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("tracker", "0003_alter_purchase_date_purchased_and_more"), - ] - - operations = [ - migrations.AlterField( - model_name="purchase", - name="date_refunded", - field=models.DateField(blank=True), - ), - ] diff --git a/src/web/tracker/migrations/0005_alter_purchase_date_refunded.py b/src/web/tracker/migrations/0005_alter_purchase_date_refunded.py deleted file mode 100644 index 94510b1..0000000 --- a/src/web/tracker/migrations/0005_alter_purchase_date_refunded.py +++ /dev/null @@ -1,18 +0,0 @@ -# Generated by Django 4.1.4 on 2022-12-31 13:08 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("tracker", "0004_alter_purchase_date_refunded"), - ] - - operations = [ - migrations.AlterField( - model_name="purchase", - name="date_refunded", - field=models.DateField(blank=True, null=True), - ), - ] diff --git a/src/web/tracker/migrations/0006_alter_session_duration_calculated_and_more.py b/src/web/tracker/migrations/0006_alter_session_duration_calculated_and_more.py deleted file mode 100644 index 939b8b0..0000000 --- a/src/web/tracker/migrations/0006_alter_session_duration_calculated_and_more.py +++ /dev/null @@ -1,28 +0,0 @@ -# Generated by Django 4.1.4 on 2022-12-31 13:26 - -from django.db import migrations, models - - -class Migration(migrations.Migration): - - dependencies = [ - ("tracker", "0005_alter_purchase_date_refunded"), - ] - - operations = [ - migrations.AlterField( - model_name="session", - name="duration_calculated", - field=models.DurationField(blank=True, null=True), - ), - migrations.AlterField( - model_name="session", - name="duration_manual", - field=models.DurationField(blank=True, null=True), - ), - migrations.AlterField( - model_name="session", - name="note", - field=models.TextField(blank=True, null=True), - ), - ]