1.7 KiB
Database Templates
RS-Warehouse includes a db-files-templates folder inside the plugin folder.
This folder contains two database templates:
empty_database.dbpopulated_database.db
These files can be used to quickly replace the active Warehouse database.
Populated Database
The populated_database.db file is the default database included with RS-Warehouse.
It contains the preconfigured categories and items included with the plugin.
This database is automatically used as the starting database when RS-Warehouse is installed for the first time.
Empty Database
The empty_database.db file is a completely empty Warehouse database.
It contains:
- Zero categories
- Zero items
This can be used if you want to start with a completely blank Warehouse and create your own category and item organization from scratch.
Using a Database Template
To replace the active Warehouse database with one of the templates:
-
Stop the server or disable/reload the plugin.
-
Open:
plugins/RS-Warehouse/db-files-templates/ -
Choose the database template you want to use:
populated_database.dbempty_database.db
-
Make a copy of the selected file.
-
Rename the copied file to:
database.db -
Copy it into:
plugins/RS-Warehouse/ -
Overwrite the existing
database.dbfile. -
Reload the RS-Warehouse plugin.
The selected database template will now become the active Warehouse database.
WARNING: Replacing
database.dbwill replace your current Warehouse categories, items, and stored database information. Make a backup of your existingdatabase.dbbefore replacing it if you may want to restore it later.