AMO5AXDS5VIY6BJIWD36RI2WNGOSXPVLMD22RMJ6PENQIOHMFPIQC defmodule Cake.Repo.Migrations.CreateLayouts douse Ecto.Migrationdef change docreate table(:layouts, primary_key: false) doadd :id, :uuid, primary_key: true, null: false, default: fragment("gen_random_uuid()")add :name, :stringadd :version, :integeradd :layer_template, references(:layer_templates, on_delete: :nothing)add :attribute_map, :mapadd :template, :maptimestamps()endcreate index(:layouts, [:layer_template])endend