13 lines
349 B
Elixir
13 lines
349 B
Elixir
|
|
defmodule MyFirstElixirVibeCode.Repo.Migrations.AddDocumentsToContractors do
|
||
|
|
use Ecto.Migration
|
||
|
|
|
||
|
|
def change do
|
||
|
|
alter table(:contractors) do
|
||
|
|
add :municipal_registration_proof, :string
|
||
|
|
add :insurance_proof, :string
|
||
|
|
add :registration_status, :string, default: "pending"
|
||
|
|
add :verified_at, :utc_datetime
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|