mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
delete tempfile
This commit is contained in:
parent
05c31558a8
commit
6d6d6a1b62
1 changed files with 0 additions and 5 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue