about summary refs log tree commit diff
path: root/+commands.el
diff options
context:
space:
mode:
Diffstat (limited to '+commands.el')
-rw-r--r--+commands.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/+commands.el b/+commands.el
index 9b4a685e1c8c..4025a9504a42 100644
--- a/+commands.el
+++ b/+commands.el
@@ -115,6 +115,14 @@
 ;; Org-mode
 (ex! "cap"         #'+org-capture/dwim)
 
+(ex! "arev" #'generate-alembic-migration)
+
+(evil-define-command evil-alembic-upgrade (&optional revision)
+  (interactive "<a>")
+  (alembic-upgrade revision))
+
+(ex! "aup" #'evil-alembic-upgrade)
+
 ;; Elixir
 (add-hook! elixir-mode
   (ex! "AV" #'alchemist-project-toggle-file-and-tests-other-window)