[scrobbles] Remove playback ticks
This commit is contained in:
@ -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",
|
||||
),
|
||||
]
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user