Run this once after updating the software. It brings every gallery's data file up to the current format — currently schema version = (int)SCHEMA_VERSION ?>. It is safe to run again at any time: each step is written so that repeating it changes nothing, and no images, archives or S3 objects are ever removed.
| Gallery | Applied | Notes |
|---|---|---|
| = e($row['title']) ?> | failed up to date v= e(implode(', v', $row['applied'])) ?> | = e($row['error']) ?> = $row['notes'] === [] ? '—' : e(implode(' ', $row['notes'])) ?> |
| No galleries yet. | ||
Everything is up to date.
| Gallery | Missing steps |
|---|---|
| = e($info['title']) ?> | v= e(implode(', v', $info['versions'])) ?> |
Topics. Galleries can now be split into named sections. Existing galleries need no conversion — they simply have no topics and look exactly as before — so this step only normalises the new fields and clears any leftover reference to a topic that does not exist. One thing it cannot do: photos uploaded through a guest link before the update are indistinguishable from your own, because nothing recorded who uploaded them. They stay without a topic. Guest uploads made from now on land in "= e(GALLERY_GUEST_TOPIC_NAME) ?>" automatically.