feat: add chat schema and migration

This commit is contained in:
2024-10-09 00:12:39 +00:00
parent 7766585e07
commit efd8914d74
2 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
defmodule Slax.Repo.Migrations.CreateRooms do
use Ecto.Migration
def change do
create table(:rooms) do
add :name, :string, null: false
add :topic, :text
timestamps(type: :utc_datetime)
end
end
end