defmodule CartosnapApp.Repo.Migrations.AddShapeToPhotos do
use Ecto.Migration
def change do
alter table(:photo_photos) do
# As displayed (EXIF orientation applied), from the image pipeline.
add :width, :integer
add :height, :integer
# nil for an ordinary photo; "sphere" or "panorama" (Photos.Panorama).
add :kind, :string
# A sphere's projection: what part of the full sphere the image covers,
# and the view to open on.
add :pano, :map
end
end
end
neiam
/cartosnap_ex
public · Issues · Pulls · Labels · Forks · Compare · Actions running · Badges · Packages
⭐
Log in to mark this repository.
513 B · text
History
e569b6d