mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 02:05:12 +00:00
Load the application before executing the create task
This commit is contained in:
parent
ebee9f59d8
commit
19f16e829d
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue