14 lines
258 B
Elixir
14 lines
258 B
Elixir
defmodule Bright.Repo.Migrations.CreateStreams do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:streams) do
|
|
add :title, :string
|
|
add :notes, :string
|
|
add :date, :utc_datetime
|
|
|
|
timestamps(type: :utc_datetime)
|
|
end
|
|
end
|
|
end
|