philomena/priv/repo/migrations/20211219194836_create_autocomplete.exs

11 lines
293 B
Elixir
Raw Permalink Normal View History

2021-12-27 01:16:21 +01:00
defmodule Philomena.Repo.Migrations.CreateAutocomplete do
use Ecto.Migration
def change do
create table(:autocomplete, primary_key: false) do
add :content, :binary, null: false
timestamps(inserted_at: :created_at, updated_at: false, type: :utc_datetime)
end
end
end