Data model
Card rulings
Official rulings issued for individual cards.
5 columns. Every value below is generated from the provenance registry.
| Field | Type | Source | Updated | Written by |
|---|---|---|---|---|
| id | string | calculated | never | database |
| Internal UUID primary key. | ||||
| oracle_id | string | scryfall | on set release | scripts/seed-cards.ts (rulings) |
| Oracle card the ruling applies to (FK → cards.scryfall_oracle_id). | ||||
| comment | string | wotc | on set release | scripts/seed-cards.ts (rulings) |
| The ruling text, verbatim. | ||||
| published_at | string | wotc | on set release | scripts/seed-cards.ts (rulings) |
| Date the ruling was issued. Later rulings supersede earlier ones on the same card. | ||||
| source | string | scryfall | on set release | scripts/seed-cards.ts (rulings) |
| Who issued it: 'wotc' for official rulings, 'scryfall' for Scryfall's own notes. | ||||
TypeScript model
interface card_rulings {
id: string
oracle_id: string
comment: string
published_at: string
source: string
}