[GH-ISSUE #291] [Issue]: Character gallery upload fails on fresh database because character_images table is missing #116

Closed
opened 2026-10-20 17:25:19 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Morgul on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/291

Summary

On a fresh database, uploading a character gallery image fails because the character_images table does not exist.

Expected behavior

A fresh database should include the schema needed for character gallery uploads, and uploading a character image should succeed without requiring manual database changes.

Actual behavior

Any attempt to upload a character gallery image fails on a fresh database because the server expects a character_images table that has not been created.

Steps to reproduce

  1. Start Marinara Engine with a fresh database.
  2. Open a character with gallery/image upload support.
  3. Attempt to upload a character gallery image.
  4. Observe that the upload fails because the expected character_images table is missing.

Environment

  • Marinara Engine version: 1.5.5 / current source checkout
  • Install type: source
  • OS + version: macOS 15.7.4
  • Browser or app shell: local web app

Logs, screenshots, or video

No screenshot captured. The failure was manually reproduced on a fresh database and resolved locally by adding the missing character_images table migration.

Additional context

This appears to be a schema/migration gap rather than a UI-only issue. Existing non-fresh databases may not show the problem if the table was created some other way during development.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Morgul on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/291 ## Summary On a fresh database, uploading a character gallery image fails because the `character_images` table does not exist. ## Expected behavior A fresh database should include the schema needed for character gallery uploads, and uploading a character image should succeed without requiring manual database changes. ## Actual behavior Any attempt to upload a character gallery image fails on a fresh database because the server expects a `character_images` table that has not been created. ## Steps to reproduce 1. Start Marinara Engine with a fresh database. 2. Open a character with gallery/image upload support. 3. Attempt to upload a character gallery image. 4. Observe that the upload fails because the expected `character_images` table is missing. ## Environment - Marinara Engine version: 1.5.5 / current source checkout - Install type: source - OS + version: macOS 15.7.4 - Browser or app shell: local web app ## Logs, screenshots, or video No screenshot captured. The failure was manually reproduced on a fresh database and resolved locally by adding the missing `character_images` table migration. ## Additional context This appears to be a schema/migration gap rather than a UI-only issue. Existing non-fresh databases may not show the problem if the table was created some other way during development. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Apr 28, 2026):

Thank you for the PR!

<!-- gh-comment-id:4337062554 --> @SpicyMarinara commented on GitHub (Apr 28, 2026): Thank you for the PR!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#116
No description provided.