Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Tools/rme-playback/DB.txt
T
torsten d5c13033e2 Session 022: Migrate Lts/Tools (72 submodules) to Qt6
- Copied complete Lts/Tools directory from qt5-before to qt6-after
- Updated 32 CMakeLists.txt files (Qt5:: → Qt6::)
- Tools subdirectory already included in parent Lts/CMakeLists.txt
- All 72 tool submodules now present in qt6-migrated-legatus
- Includes: Adler, ArAssets, ConfigX, DBAdministration, DBUpdate,
  DdsView, InfrastructureManagement, and 67 more tools
- C++17 standard (RTI 7.7.0 compatibility maintained)
- Tests deferred until final validation phase

Migration progress:
✅ Lts/Application (68 files)
✅ Lts/DDS (verified Qt6-ready)
✅ Lts/Plugins (60 submodules, verified)
✅ Lts/Projects (5 submodules, verified)
✅ Lts/Proxies (13 submodules, verified)
✅ Lts/Services (47 submodules, verified)
✅ Lts/Tools (72 submodules, copied + CMake updated)
✅ Lts/Viewer (LtsFileDialog, LtsReportDisplay, SituationMap)
🟡 TetraIF (partial)
🟡 Z (partial: nglwidgets, QtSingleApplication, qsql_informix, WMS_Interface)
2026-08-25 14:07:20 +02:00

72 lines
2.1 KiB
Plaintext
Executable File

CREATE TABLE IF NOT EXISTS public.replays
(
name text COLLATE pg_catalog."default" NOT NULL,
uuid text COLLATE pg_catalog."default" NOT NULL,
created_by text COLLATE pg_catalog."default" NOT NULL,
time_created bigint NOT NULL,
CONSTRAINT replays_pkey PRIMARY KEY (uuid)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.replays
OWNER to postgres;
CREATE TABLE IF NOT EXISTS public.users
(
id integer NOT NULL DEFAULT nextval('users_id_seq'::regclass),
username character varying(255) COLLATE pg_catalog."default" NOT NULL,
password character varying(255) COLLATE pg_catalog."default" NOT NULL,
CONSTRAINT users_pkey PRIMARY KEY (id),
CONSTRAINT users_username_key UNIQUE (username)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.users
OWNER to postgres;
CREATE TABLE IF NOT EXISTS public.tokens
(
id integer NOT NULL DEFAULT nextval('tokens_id_seq'::regclass),
user_id integer,
token character varying(255) COLLATE pg_catalog."default" NOT NULL,
created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
expiry_date timestamp without time zone,
CONSTRAINT tokens_pkey PRIMARY KEY (id),
CONSTRAINT tokens_token_key UNIQUE (token),
CONSTRAINT tokens_user_id_fkey FOREIGN KEY (user_id)
REFERENCES public.users (id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE CASCADE
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.tokens
OWNER to postgres;
CREATE TABLE IF NOT EXISTS public.spatial_ref_sys
(
srid integer NOT NULL,
auth_name character varying(256) COLLATE pg_catalog."default",
auth_srid integer,
srtext character varying(2048) COLLATE pg_catalog."default",
proj4text character varying(2048) COLLATE pg_catalog."default",
CONSTRAINT spatial_ref_sys_pkey PRIMARY KEY (srid),
CONSTRAINT spatial_ref_sys_srid_check CHECK (srid > 0 AND srid <= 998999)
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.spatial_ref_sys
OWNER to postgres;
REVOKE ALL ON TABLE public.spatial_ref_sys FROM PUBLIC;
GRANT SELECT ON TABLE public.spatial_ref_sys TO PUBLIC;
GRANT ALL ON TABLE public.spatial_ref_sys TO postgres;