9cd3701ac0297f4bdf9673ea0dffa8ffdaea63e8

Author
Konstantin Zolotarev <konstantin.zolotarev@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Added ecto tasks (#6035)

Diff

 1diff --git a/plugins/mix/_mix b/plugins/mix/_mix
 2index 025572a4da2eb52bc7408bdd54a53b3b41d4b46b..ecbe7e2d3ae802c0253ee09946901adfcb2b7869 100644
 3--- a/plugins/mix/_mix
 4+++ b/plugins/mix/_mix
 5@@ -21,6 +21,15 @@ _1st_arguments=(
 6     'deps.unlock:Unlock the given dependencies'
 7     'deps.update:Update the given dependencies'
 8     'do:Executes the tasks separated by comma'
 9+    'ecto.create:Create Ecto database'
10+    'ecto.drop:Drop the storage for the given repository'
11+    'ecto.dump:Dumps the current environment’s database structure'
12+    'ecto.gen.migration:Generates a migration'
13+    'ecto.gen.repo:Generates a new repository'
14+    'ecto.load:Loads the current environment’s database structure'
15+    'ecto.migrate:Runs Ecto migration'
16+    'ecto.migrations:Displays the up / down migration status'
17+    'ecto.rollback:Reverts applied migrations'
18     'escript.build:Builds an escript for the project'
19     'help:Print help information for tasks'
20     'hex:Print hex help information'