12 lines
292 B
Elixir
12 lines
292 B
Elixir
|
|
defmodule Postland.Repo.Migrations.AddActors do
|
||
|
|
use Ecto.Migration
|
||
|
|
|
||
|
|
def change do
|
||
|
|
create table("follows", primary_key: false) do
|
||
|
|
add :follower, :string, primary_key: true
|
||
|
|
add :followee, :string, primary_key: true
|
||
|
|
add :confirmed_at, :naive_datetime
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|