浏览代码

Added ecto tasks (#6035)

Konstantin Zolotarev 7 年之前
父节点
当前提交
9cd3701ac0
共有 1 个文件被更改,包括 9 次插入0 次删除
  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'