13 lines
220 B
Elixir
13 lines
220 B
Elixir
|
defmodule Bright.Repo.Migrations.CreateUrls do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create table(:urls) do
|
||
|
add :link, :string
|
||
|
add :title, :string
|
||
|
|
||
|
timestamps(type: :utc_datetime)
|
||
|
end
|
||
|
end
|
||
|
end
|