Skip to content

Commit

Permalink
fix(fulltext): rm fulltext fixture_path field
Browse files Browse the repository at this point in the history
  • Loading branch information
spool committed Oct 14, 2023
1 parent ae6959f commit dbfdd8c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
16 changes: 16 additions & 0 deletions fulltext/migrations/0003_remove_fulltext_fixture_path.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated by Django 4.2.5 on 2023-10-14 10:51

from django.db import migrations


class Migration(migrations.Migration):
dependencies = [
("fulltext", "0002_fulltext_errors"),
]

operations = [
migrations.RemoveField(
model_name="fulltext",
name="fixture_path",
),
]
3 changes: 0 additions & 3 deletions fulltext/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class Fulltext(models.Model):
path to `plaintext` (`txt`) source file (if used). If
`self.compressed_path` is set, then `path` is to relevant
`txt` file when `self.compressed_path` is uncompressed
fixture_path:
path to `fixture` `JSON` used to load (if used)
created_at:
date and time the record is created. This can also be
provided by a fixture, for example via `alto2txt2fixture`
Expand Down Expand Up @@ -48,7 +46,6 @@ class Fulltext(models.Model):
text = models.TextField()
path = models.CharField(max_length=200, blank=True, null=True)
compressed_path = models.CharField(max_length=200, blank=True, null=True)
fixture_path = models.CharField(max_length=200, blank=True, null=True)
errors = models.TextField(blank=True, null=True)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)

0 comments on commit dbfdd8c

Please sign in to comment.