File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ defmodule Mix.Tasks.FeebDb.DumpSchemas do
22 use Mix.Task
33 alias Feeb.DB . { Migrator , SQLite }
44
5+ @ requirements [ "app.config" ]
6+
57 # TODO: Get these paths from args instead of hard-coding them here
68 @ tmp_db "/tmp/helix_tmp_dump.db"
79 @ output_path "priv/schemas"
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ defmodule Mix.Tasks.FeebDb.Gen.Migration do
33 require Logger
44 alias Feeb.DB.Config
55
6+ @ requirements [ "app.config" ]
7+
68 @ file_adapter Application . compile_env ( :feebdb , :adapters ) [ :file ] || Feeb.Adapters.File
79
810 @ option_parser_opts [
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ defmodule Mix.Tasks.FeebDb.Gen.Query do
33 require Logger
44 alias Feeb.DB.Config
55
6+ @ requirements [ "app.config" ]
7+
68 @ file_adapter Application . compile_env ( :feebdb , :adapters ) [ :file ] || Feeb.Adapters.File
79
810 @ option_parser_opts [
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ defmodule Mix.Tasks.FeebDb.Migrate do
33 require Logger
44 alias Feeb.DB . { Boot , Repo }
55
6+ @ requirements [ "app.config" ]
7+
68 @ impl Mix.Task
79 def run ( _args ) do
810 Repo.Manager.Supervisor . start_link ( [ ] )
You can’t perform that action at this time.
0 commit comments