studysets: add license_year column for the copyright year #83
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
project-halkyon/halkyon-infra!83
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/83/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nullable
integerbesidelicense_holder, backing the studyset editsheet's new License year field. The app renders it as
© 2019 Tae Kim · CC-BY-SA-4.0in the detail footer, the Explore summary sheet, and themarkdown export.
The CHECK (1000-9999, or NULL) is a server-side backstop for writers
other than the edit sheet — the field itself is digits-only and
four-char-limited client-side. The bound is deliberately loose rather
than "not in the future", so back- and forward-dating both stay possible
without another migration.
Additive and nullable, so the flip is a no-op for existing rows. Pairs
with halkyon-learn's Studyset.licenseYear + Drift schemaVersion 56;
without it every studyset push carrying the new key is rejected
(PGRST204), which takes the whole studyset queue down, not just the
year. Already applied to the live instance.
Signed-off-by: Tizian 「ティツィアーン」 raisondetredev@pm.me