diff --git a/migration-correction-script.sh b/migration-correction-script.sh deleted file mode 100644 index 276eaf6..0000000 --- a/migration-correction-script.sh +++ /dev/null @@ -1,5 +0,0 @@ -set -ex -for f in src/app/db/migrations/*.sql; do - hash=$(sha256sum "$f" | awk '{print $1}') - echo "INSERT INTO __drizzle_migrations (hash, created_at) SELECT '$hash', extract(epoch from now())::bigint * 1000 WHERE NOT EXISTS (SELECT 1 FROM __drizzle_migrations WHERE hash = '$hash');" -done