projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebee9f5
)
Load the application before executing the create task
author
rinpatch
<rinpatch@sdf.org>
Sat, 22 Jun 2019 01:33:46 +0000
(
04:33
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sat, 22 Jun 2019 01:33:46 +0000
(
04:33
+0300)
lib/pleroma/release_tasks.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/release_tasks.ex
b/lib/pleroma/release_tasks.ex
index d6720cd0580dc5d2bcb1f3ccf6183e0de60b597a..8afabf463f9ebc165a3d06a8b61ec434bf351dd3 100644
(file)
--- a/
lib/pleroma/release_tasks.ex
+++ b/
lib/pleroma/release_tasks.ex
@@
-44,6
+44,8
@@
defmodule Pleroma.ReleaseTasks do
end
def create do
+ Application.load(:pleroma)
+
case @repo.__adapter__.storage_up(@repo.config) do
:ok ->
IO.puts("The database for #{inspect(@repo)} has been created")