13 lines
226 B
Elixir
13 lines
226 B
Elixir
![]() |
defmodule Webmon.Repo.Migrations.CreateWebsites do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:websites) do
|
||
|
add :name, :string
|
||
|
add :url, :string
|
||
|
|
||
|
timestamps(type: :utc_datetime)
|
||
|
end
|
||
|
end
|
||
|
end
|