Retroactively Change Data Type of Table Field (Phoenix / Ecto): Difference between revisions

From ElixirBlocks
Jump to: navigation, search
(Created page with "Example: <source> alter table(:name_of_table) do modify :content, :binary end </source>")
 
(No difference)

Latest revision as of 16:42, 2 May 2024

Example:

alter table(:name_of_table) do
  modify :content, :binary
end