projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
[akkoma]
/
priv
/
repo
/
migrations
/
20190123125546_create_instances.exs
1
defmodule Pleroma.Repo.Migrations.CreateInstances do
2
use Ecto.Migration
3
4
def change do
5
create table(:instances) do
6
add :host, :string
7
add :unreachable_since, :naive_datetime_usec
8
9
timestamps()
10
end
11
12
create unique_index(:instances, [:host])
13
create index(:instances, [:unreachable_since])
14
end
15
end