2023-06-09 19:13:27 +00:00
|
|
|
defmodule Prymn.Repo.Migrations.CreateServers do
|
|
|
|
use Ecto.Migration
|
|
|
|
|
|
|
|
def change do
|
|
|
|
create table(:servers) do
|
|
|
|
add :name, :string
|
|
|
|
add :ipv4, :string
|
|
|
|
add :ipv6, :string
|
2023-06-19 20:28:24 +00:00
|
|
|
add :provider, :string
|
|
|
|
add :connection_token, :binary
|
2023-06-09 19:13:27 +00:00
|
|
|
|
|
|
|
timestamps()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|