neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
make visions publicable internally for landing page
c5321bf · gmorell · 2022-07-31 16:14
Files changed
modified
apps/room_sanctum/lib/room_sanctum/configuration/vision.ex
+1
−0
@@ -7,6 +7,7 @@ defmodule RoomSanctum.Configuration.Vision do
| 7 | 7 | field :name, :string |
| 8 | 8 | field :type, Ecto.Enum, values: [:alerts, :time, :pinned, :background] |
| 9 | 9 | embeds_many :queries, RoomSanctum.Configuration.Vision.Schema, on_replace: :delete |
| 10 | + field :public, :boolean | |
| 10 | 11 | |
| 11 | 12 | timestamps() |
| 12 | 13 | end |
modified
apps/room_sanctum/priv/repo/migrations/20220614022715_create_visions.exs
+1
−0
@@ -7,6 +7,7 @@ defmodule RoomSanctum.Repo.Migrations.CreateVisions do
| 7 | 7 | add :type, :string |
| 8 | 8 | add :queries, :map |
| 9 | 9 | add :user_id, references(:users, on_delete: :nothing) |
| 10 | + add :public, :boolean | |
| 10 | 11 | |
| 11 | 12 | timestamps() |
| 12 | 13 | end |
Parents: d8c2cda