[scrobbles] Remove playback ticks

This commit is contained in:
2024-04-19 15:01:15 -04:00
parent 20dd4d217a
commit 8fbe37a163
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,21 @@
# Generated by Django 4.2.9 on 2024-04-19 19:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("scrobbles", "0053_remove_scrobble_source_id"),
]
operations = [
migrations.RemoveField(
model_name="scrobble",
name="notes",
),
migrations.RemoveField(
model_name="scrobble",
name="playback_position_ticks",
),
]

View File

@ -512,7 +512,6 @@ class Scrobble(TimeStampedModel):
# Time keeping
timestamp = models.DateTimeField(**BNULL)
stop_timestamp = models.DateTimeField(**BNULL)
playback_position_ticks = models.PositiveBigIntegerField(**BNULL)
playback_position_seconds = models.IntegerField(**BNULL)
# Status indicators
@ -523,7 +522,6 @@ class Scrobble(TimeStampedModel):
# Metadata
source = models.CharField(max_length=255, **BNULL)
scrobble_log = models.JSONField(**BNULL)
notes = models.TextField(**BNULL)
timezone = models.CharField(max_length=50, **BNULL)
# Fields for keeping track of book data