Aggiedit/priv/repo/migrations/20220405070421_create_rooms.exs

14 lines
238 B
Elixir
Raw Normal View History

defmodule Aggiedit.Repo.Migrations.CreateRooms do
use Ecto.Migration
def change do
create table(:rooms) do
add :domain, :string, null: false
timestamps()
end
create unique_index(:rooms, [:domain])
end
end