#007 Include 2 database files so use can decide #7

Closed
opened 2026-08-11 14:10:13 -05:00 by BigPappa · 0 comments
Owner

Feature Request

Description

When RS-Warehouse is run for the first time, create two database files in a dedicated folder:

  1. Empty Database — the normal database created for the server.
  2. Fully Populated Database — a database containing the complete pre-populated Warehouse data.

The fully populated database can then be copied over the empty database by the server owner when they want to start with all available items and categories already populated.

Database Requirements

  • Create the normal empty database on first run.
  • Create a fully populated database containing all predefined Warehouse categories and items.
  • Store the fully populated database in a dedicated folder.
  • Ensure the populated database can be copied over the empty database and used normally.
  • Verify both databases initialize correctly.

Database Cleanup

The fully populated database must contain only appropriate Warehouse data.

The population process must:

  • Delete all maps.
  • Delete all other plugin items.
  • Empty all inventories.
  • Delete all variant inventories.
  • Verify no unwanted item data remains in the populated database.

Verification

  • Verify the empty database is created correctly.
  • Verify the fully populated database contains all expected categories.
  • Verify the fully populated database contains all expected items.
  • Verify maps are excluded.
  • Verify other plugin items are excluded.
  • Verify inventories are empty.
  • Verify variant inventories are deleted.
  • Copy the populated database over the empty database and verify RS-Warehouse starts normally.
## Feature Request ### Description When RS-Warehouse is run for the first time, create two database files in a dedicated folder: 1. **Empty Database** — the normal database created for the server. 2. **Fully Populated Database** — a database containing the complete pre-populated Warehouse data. The fully populated database can then be copied over the empty database by the server owner when they want to start with all available items and categories already populated. ### Database Requirements - [x] Create the normal empty database on first run. - [x] Create a fully populated database containing all predefined Warehouse categories and items. - [x] Store the fully populated database in a dedicated folder. - [x] Ensure the populated database can be copied over the empty database and used normally. - [x] Verify both databases initialize correctly. ### Database Cleanup The fully populated database must contain only appropriate Warehouse data. The population process must: - [x] Delete all maps. - [x] Delete all other plugin items. - [x] Empty all inventories. - [x] Delete all variant inventories. - [x] Verify no unwanted item data remains in the populated database. ### Verification - [x] Verify the empty database is created correctly. - [x] Verify the fully populated database contains all expected categories. - [x] Verify the fully populated database contains all expected items. - [x] Verify maps are excluded. - [x] Verify other plugin items are excluded. - [x] Verify inventories are empty. - [x] Verify variant inventories are deleted. - [x] Copy the populated database over the empty database and verify RS-Warehouse starts normally.
BigPappa added the
status
planned 💭
type
enhancement ✨
priority
low 🟢
labels 2026-08-11 14:10:13 -05:00
BigPappa changed title from Include 2 database files so use can decide to #007 Include 2 database files so use can decide 2026-08-12 21:34:39 -05:00
Sign in to join this conversation.