Skip to content

A self-hosted media server and file management system

utility commands

aminnausindfbd6b07bdd2
diff --git a/.env.example b/.env.example
index 4a5fd94a..6a888b22 100755
--- a/.env.example
+++ b/.env.example
@@ -61,7 +61,4 @@ VITE_PUSHER_HOST="${PUSHER_HOST}"
VITE_PUSHER_PORT="${PUSHER_PORT}"
VITE_PUSHER_SCHEME="${PUSHER_SCHEME}"
VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
-VITE_BASE_URL="${APP_URL}"
-
-
-COOL_ZCOMMAND="git branch --merged | %{$_.trim()} | ?{$_ -notmatch 'dev' -and $_ -notmatch 'main'} | %{git branch -d $_}"
\ No newline at end of file
+VITE_BASE_URL="${APP_URL}"
\ No newline at end of file
diff --git a/commands.txt b/commands.txt
new file mode 100644
index 00000000..ab4f55ee
--- /dev/null
+++ b/commands.txt
@@ -0,0 +1,5 @@
+Auto delete local copies of merged/deleted remote branches
+git branch --merged | %{$_.trim()} | ?{$_ -notmatch 'dev' -and $_ -notmatch 'main'} | %{git branch -d $_}
+
+Fix sql ID
+select setval('ecommerce."purchases_id_seq"', coalesce((select max(id)+1 from ecommerce.purchases), 1), false)
\ No newline at end of file