projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
migration fix
[akkoma]
/
priv
/
repo
/
migrations
/
20170321074832_create_object.exs
diff --git
a/priv/repo/migrations/20170321074832_create_object.exs
b/priv/repo/migrations/20170321074832_create_object.exs
index b8bd4974730f67090d94c1f1d475f2c61ef8c5d3..c5a59ecba4cbb2af560581172ad555058f8650ae 100644
(file)
--- a/
priv/repo/migrations/20170321074832_create_object.exs
+++ b/
priv/repo/migrations/20170321074832_create_object.exs
@@
-2,11
+2,10
@@
defmodule Pleroma.Repo.Migrations.CreatePleroma.Object do
use Ecto.Migration
def change do
- create table(:objects) do
- add
:data, :map
+ create
_if_not_exists
table(:objects) do
+ add
(:data, :map)
timestamps()
end
-
end
end