projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into feature/moderation-log-filters
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
ecto
/
migrate.ex
diff --git
a/lib/mix/tasks/pleroma/ecto/migrate.ex
b/lib/mix/tasks/pleroma/ecto/migrate.ex
index 22eafe76f49a0d4d83670e016a78c0ba7606efcc..d87b6957d645a6e88dc4014af9c32e57d2188761 100644
(file)
--- a/
lib/mix/tasks/pleroma/ecto/migrate.ex
+++ b/
lib/mix/tasks/pleroma/ecto/migrate.ex
@@
-1,9
+1,10
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-201
8
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-201
9
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-onl
defmodule Mix.Tasks.Pleroma.Ecto.Migrate do
use Mix.Task
# SPDX-License-Identifier: AGPL-3.0-onl
defmodule Mix.Tasks.Pleroma.Ecto.Migrate do
use Mix.Task
+ import Mix.Pleroma
require Logger
@shortdoc "Wrapper on `ecto.migrate` task."
require Logger
@shortdoc "Wrapper on `ecto.migrate` task."
@@
-37,6
+38,7
@@
defmodule Mix.Tasks.Pleroma.Ecto.Migrate do
@impl true
def run(args \\ []) do
@impl true
def run(args \\ []) do
+ load_pleroma()
{opts, _} = OptionParser.parse!(args, strict: @switches, aliases: @aliases)
opts =
{opts, _} = OptionParser.parse!(args, strict: @switches, aliases: @aliases)
opts =