fix: ugc Save rocket and car modular assembly data to database (#1279)

* Ugc: Use persistent Id for rocekts and cars

* Remove comment

* Ugc: Save rocket and car IDs to the database

* Correct names

* Database: formatting
This commit is contained in:
David Markowitz
2023-11-15 17:32:30 -08:00
committed by GitHub
parent f59ca8b1da
commit 0ddd20e2b5
2 changed files with 54 additions and 41 deletions

View File

@@ -0,0 +1,5 @@
CREATE TABLE IF NOT EXISTS ugc_modular_build (
ugc_id BIGINT NOT NULL PRIMARY KEY,
character_id BIGINT NOT NULL REFERENCES charinfo(id) ON DELETE CASCADE,
ldf_config VARCHAR(60) NOT NULL
);