Files
jigglyjamsandGitHub 9ee292cc0c Local Developer Setup (#3)
* feat(dev): global gitignore, add database folder and backup, create database backup and restore scripts, rename other scripts for clarity, update docs

* docs(readme): clarify setup, update db.sql with latest
2025-04-24 14:32:01 -04:00

11 lines
203 B
Bash

#! /bin/bash
# Restore the database from the backup file to local database
BACKUP_FILE="$(dirname "$0")/../../../database/db.sql"
psql \
-X \
-d decent \
-f "$BACKUP_FILE" \
-v ON_ERROR_STOP=1