1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

feat: add "postal:update" task

this will load the schema if no schema exists or update it if it does
هذا الالتزام موجود في:
Adam Cooke
2024-03-04 21:01:31 +00:00
الأصل 893898835d
التزام b35eea6338
2 ملفات معدلة مع 20 إضافات و4 حذوفات

عرض الملف

@@ -25,12 +25,15 @@ case "$1" in
initialize)
echo 'Initializing database'
run "bundle exec rake db:create db:schema:load db:seed"
run "bundle exec rake db:create postal:update"
;;
upgrade)
echo 'Migrating database'
run "bundle exec rake db:migrate"
run "bundle exec rake postal:update"
;;
update)
run "bundle exec rake postal:update"
;;
console)
@@ -65,7 +68,7 @@ case "$1" in
echo "Setup/upgrade tools:"
echo
echo -e " * \033[32minitialize\033[0m - create and load the DB schema"
echo -e " * \033[32mupgrade\033[0m - upgrade the DB schema"
echo -e " * \033[32mupdate\033[0m - upgrade the DB schema"
echo
echo "Other tools:"
echo