diff --git a/packages/db/docs/migration-case-fresh-baseline.md b/packages/db/docs/migration-case-fresh-baseline.md index 6748d62..6439422 100644 --- a/packages/db/docs/migration-case-fresh-baseline.md +++ b/packages/db/docs/migration-case-fresh-baseline.md @@ -23,7 +23,6 @@ tar -xzf /path/to/backup.tar.gz -C /tmp/dental_dump_dir # create DB (if not exists) and restore (data-only or custom format) PGPASSWORD='mypassword' createdb -U postgres -h localhost -O postgres dentalapp -PGPASSWORD='mypassword' pg_restore -U postgres -h localhost -d dentalapp -j 4 /tmp/dental_dump_dir # (or use /usr/lib/postgresql//bin/pg_restore if version mismatch) ``` # 1.2 — (If needed) fix postgres user password / auth @@ -36,12 +35,6 @@ sudo -u postgres psql -c "ALTER ROLE postgres WITH PASSWORD 'mypassword';" ``` --- -# 2 — Confirm DB has tables - -```bash -PGPASSWORD='mypassword' psql -U postgres -h localhost -d dentalapp -c "\dt" -``` - --- ## 3 — Let Prisma create the schema (RUN ONCE)