Logo
Explore Help
Sign In
jamey/berrypod
1
0
Fork 0
You've already forked berrypod
Code Issues Pull Requests Actions Packages Projects 1 Releases Wiki Activity
Files
9facfd926efb0a521782cd170dcfc347ff4f3dcd
berrypod/priv/repo/migrations/20260227212335_add_image_metadata.exs

12 lines
216 B
Elixir
Raw Normal View History

add admin media library with image management and block picker integration - Schema: alt, caption, tags fields on images table with metadata changeset - Context: list_images with filters, find_usages, used_image_ids, delete_with_cleanup - Admin UI: /admin/media with grid view, upload, filters, detail panel, metadata editing - Block editor: :image field type for image_text and content_body blocks - Page renderer: image_id resolution with legacy URL fallback - Mobile: bottom sheet detail panel with slide-up animation - CSS: uses correct --t-* admin theme tokens, admin-badge colour variants Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 22:20:51 +00:00
defmodule Berrypod.Repo.Migrations.AddImageMetadata do
use Ecto.Migration
def change do
alter table(:images) do
add :alt, :string
add :caption, :string
add :tags, :string
end
end
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 101ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API