get started on route for creating links, dividing steps into components

This commit is contained in:
2021-08-19 22:35:12 -04:00
parent 1542213875
commit dfaa328af4
24 changed files with 618 additions and 36 deletions

View File

@@ -0,0 +1,15 @@
defmodule Entendu.Repo.Migrations.CreateLinks do
use Ecto.Migration
def change do
create table(:links, primary_key: false) do
add :id, :binary_id, primary_key: true
add :expires, :utc_datetime
add :burn_after_reading, :boolean, default: false, null: false
add :content, :text
timestamps()
end
end
end