Add migration 26, roles.posting_url, kept across pulls and carried on the row and its copies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
54b56ac370
commit
d168d9eb6c
10 files changed
+76
-19
No files matched your search
+8
-2
@@ -809,6 +809,7 @@ class RoleCopy(Model):
|
||||
host: str = ""
|
||||
place: str = ""
|
||||
original_url: str = ""
|
||||
posting_url: str = ""
|
||||
posted_at: str = ""
|
||||
|
||||
|
||||
@@ -865,6 +866,9 @@ class Role(Model):
|
||||
#: The short text the host's list carries, until `description` arrives.
|
||||
teaser: str = ""
|
||||
original_url: str = ""
|
||||
#: Where a Jobindex ad's own page leads, found when the text is fetched
|
||||
#: (`app.jobs.posting`); '' until then and for every other host.
|
||||
posting_url: str = ""
|
||||
published_at: str
|
||||
#: The date this role counts as posted: see `posted_at`. Used for
|
||||
#: `recency` and the feed's newest order; `first_seen` stays what it
|
||||
@@ -974,8 +978,9 @@ class RoleRow(Model):
|
||||
there is one, else the description's opening, cut to `EXCERPT_LIMIT`
|
||||
characters. The pay fields are what the row's badge reads: the three
|
||||
normalised columns, the line the board stated, and `salary_state`,
|
||||
derived as on `Role`. `original_url` is one short string, kept so the
|
||||
`o` key opens a selected row's posting without opening the reader.
|
||||
derived as on `Role`. `original_url` and `posting_url` are short strings,
|
||||
kept so the `o` key opens a selected row's posting without opening the
|
||||
reader.
|
||||
`seniority` is the title's level until extract reads the posting, ''
|
||||
when neither says. `copies` counts the open copies the feed hides behind
|
||||
this row."""
|
||||
@@ -994,6 +999,7 @@ class RoleRow(Model):
|
||||
currency: str = ""
|
||||
salary_text: str = ""
|
||||
original_url: str = ""
|
||||
posting_url: str = ""
|
||||
posted_at: str = ""
|
||||
score: float | None = None
|
||||
gated_reason: str = ""
|
||||
|
||||
Reference in new issue
Block a user