14 lines
282 B
Elixir
14 lines
282 B
Elixir
|
|
defmodule MyFirstElixirVibeCode.Repo.Migrations.CreateContractors do
|
||
|
|
use Ecto.Migration
|
||
|
|
|
||
|
|
def change do
|
||
|
|
create table(:contractors) do
|
||
|
|
add :name, :string
|
||
|
|
add :email, :string
|
||
|
|
add :company_name, :string
|
||
|
|
|
||
|
|
timestamps(type: :utc_datetime)
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|