Browse Source

Added ecto tasks (#6035)

Konstantin Zolotarev 7 years ago
parent
commit
9cd3701ac0
1 changed files with 9 additions and 0 deletions
  1. 9 0
      plugins/mix/_mix

+ 9 - 0
plugins/mix/_mix

@@ -21,6 +21,15 @@ _1st_arguments=(
     'deps.unlock:Unlock the given dependencies'
     'deps.update:Update the given dependencies'
     'do:Executes the tasks separated by comma'
+    'ecto.create:Create Ecto database'
+    'ecto.drop:Drop the storage for the given repository'
+    'ecto.dump:Dumps the current environment’s database structure'
+    'ecto.gen.migration:Generates a migration'
+    'ecto.gen.repo:Generates a new repository'
+    'ecto.load:Loads the current environment’s database structure'
+    'ecto.migrate:Runs Ecto migration'
+    'ecto.migrations:Displays the up / down migration status'
+    'ecto.rollback:Reverts applied migrations'
     'escript.build:Builds an escript for the project'
     'help:Print help information for tasks'
     'hex:Print hex help information'