Add the Link model.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
defmodule LinkShortener.Repo.Migrations.CreateLinks do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:links) do
|
||||
add :name, :string
|
||||
add :url, :string
|
||||
|
||||
timestamps()
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user