Updated source's friendly_name to default to the collection_name (#29)

This commit is contained in:
Kieran authored and GitHub committed 2024-02-20 19:24:47 -08:00
1 parent 1ec1a48235
commit 01042ebd1b
9 files changed
+101 -3

No files matched your search

@@ -0,0 +1,13 @@
defmodule Pinchflat.Repo.Migrations.AddNotNullToFriendlyName do
use Ecto.Migration
def change do
alter table(:sources) do
remove :friendly_name, :string
end
alter table(:sources) do
add :friendly_name, :string, null: false
end
end
end