Add helper to create a new migration
This commit is contained in:
5
bin/omarchy-dev-add-migration
Executable file
5
bin/omarchy-dev-add-migration
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
next_migration_date=$(git log -1 --format=%cd --date=unix)
|
||||||
|
touch ~/.local/share/omarchy/migrations/$next_migration_date.sh
|
||||||
|
nvim ~/.local/share/omarchy/migrations/$next_migration_date.sh
|
||||||
Reference in New Issue
Block a user