organized the dev tools dahsboard componetns and connected them tothe backend slightly. Still working on how to display combos as a tree, then the inspector should follow.

This commit is contained in:
HP
2026-01-19 03:06:22 -05:00
parent 9696f6cc33
commit aa4578cc2e
11 changed files with 325 additions and 269 deletions

View File

@@ -16,8 +16,6 @@ CREATE TABLE cards (
created_timestamp TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP
);
DROP TABLE IF EXISTS units;
DROP SEQUENCE IF EXISTS units_record_num_sequence;
DROP SEQUENCE IF EXISTS units_unit_id_sequence;
@@ -42,6 +40,20 @@ CREATE TABLE units (
created_timestamp TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP
);
DROP TABLE IF EXISTS combos;
DROP SEQUENCE IF EXISTS combos_record_num_sequence;
CREATE SEQUENCE combos_record_num_sequence;
CREATE TABLE combos (
record_num INTEGER PRIMARY KEY DEFAULT nextval('combos_record_num_sequence'),
parent_data_id VARCHAR(100) NOT NULL,
combo_data_id VARCHAR(100) NOT NULL,
result_data_id VARCHAR(100) NOT NULL,
CHECK (parent_data_id <> result_data_id)
);
DROP TABLE IF EXISTS resources;
DROP SEQUENCE IF EXISTS resources_record_num_sequence;
DROP SEQUENCE IF EXISTS resources_resource_id_sequence;