diff --git a/scripts/setup/officer-setup.sh b/scripts/setup/officer-setup.sh index 17ba54c1..7b63f30f 100755 --- a/scripts/setup/officer-setup.sh +++ b/scripts/setup/officer-setup.sh @@ -590,6 +590,11 @@ fi step "Schema" if ! skip; then echo "" + # Counted from the aggregator rather than hardcoded, so the number is the truth + # even when a plugin line is uncommented. It was written as ${SCHEMA_TABLES:-?} + # and never assigned, so the section said "? tables" — a placeholder that looked + # like the count could not be determined rather than like nobody had set it. + SCHEMA_TABLES="$(schema_table_count)" info "Database schema" echo " ${SCHEMA_TABLES:-?} tables, applied with 'bun db:push' — drizzle-kit" echo " diffs the schema code against Postgres and alters it directly. There"