Files
compor-academy/server/migrations/007_course_cover_zoom.sql
Cauê Faleiros ad860074fd
All checks were successful
CI / Validate frontend and API (push) Successful in 1m10s
CI / Build and publish Docker images (push) Successful in 50s
feat: add resilient cover previews and zoom
2026-09-04 14:29:07 -03:00

4 lines
135 B
SQL

alter table courses
add column cover_image_zoom real not null default 1
check (cover_image_zoom >= 1 and cover_image_zoom <= 2.5);