← back to Govarbitrage
Phase 21b: deploy-auctions.sh uses --force-reset (old Kamatera DB = 26 disposable stub rows on incompatible schema; repopulated by seed + free feeds)
52165729920ba4cf1bbfa2cdaaa9b981ec310c6a · 2026-07-10 08:11:09 -0700 · Steve Abrams
Files touched
M scripts/deploy-auctions.sh
Diff
commit 52165729920ba4cf1bbfa2cdaaa9b981ec310c6a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Fri Jul 10 08:11:09 2026 -0700
Phase 21b: deploy-auctions.sh uses --force-reset (old Kamatera DB = 26 disposable stub rows on incompatible schema; repopulated by seed + free feeds)
---
scripts/deploy-auctions.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/deploy-auctions.sh b/scripts/deploy-auctions.sh
index 9d2ed2c..d206141 100755
--- a/scripts/deploy-auctions.sh
+++ b/scripts/deploy-auctions.sh
@@ -32,7 +32,10 @@ echo " npm install"
npm install --no-audit --no-fund
echo " prisma generate + db push"
npx prisma generate
-npx prisma db push --skip-generate --accept-data-loss
+# The pre-existing DB holds only 26 rows of disposable OLD-STUB seed on an
+# incompatible schema (enum type changes can't migrate in place). --force-reset
+# rebuilds the schema clean; the seed + free-feed imports below repopulate it.
+npx prisma db push --skip-generate --force-reset
echo " build"
npm run build
echo " seed users (+ demo) then import FREE feeds (\$0)"
← 49f1858 Phase 21: deploy-auctions.sh — one-shot update deploy to auc
·
back to Govarbitrage
·
auto-save: 2026-07-10T08:44:50 (1 files) — scripts/deploy-au a0d4cae →