Diffuser/priv/repo/migrations/20220824195515_create_promp...

14 lines
356 B
Elixir

defmodule Diffuser.Repo.Migrations.CreatePromptRequestResult do
use Ecto.Migration
def change do
create table(:prompt_request_results, primary_key: false) do
add :id, :uuid, primary_key: true, null: false
add :image, :string
add :prompt_request_id, references(:prompt_requests, type: :uuid)
timestamps()
end
end
end