Add support for database backups and enhance UI elements

Updates UI components and gitignore rules for database backups, adds
Facebook links to news org window, and improves desktop window title
handling.
This commit is contained in:
yuanhau 2025-05-15 10:54:39 +08:00
parent 67f574fc35
commit 94fbf1551d
8 changed files with 93 additions and 72 deletions

15
database/README.md Normal file
View file

@ -0,0 +1,15 @@
# Database contents
This is where I put the database schemas, that contains everything (the user account & password info is NOT avaiable in the backup.)
## How to import
Import the schema:
```bash
psql -d database -f database_dump.sql
```
## Hoe to create a database_dump
Type or copy This
```bash
pg_dump -U your_username -d your_database --schema-only > schema.sql
```