implement creation of link on first step in backend

This commit is contained in:
2021-12-01 20:08:22 -05:00
parent 04225c44aa
commit 89c2a99283
9 changed files with 98 additions and 44 deletions

View File

@@ -0,0 +1,13 @@
defmodule Entendu.Repo.Migrations.AddFilenameToLinks do
use Ecto.Migration
def change do
alter table(:links) do
remove_if_exists(:content, :string)
add :filename, :string
add :filetype, :string
add :text_content, :string
add :file_content, :string
end
end
end