git_brcal/misc
Daniel Schick 7660ee72f2 Added filtering and sorting to shipcalls in the list.
While doing so, I have also refactored the shipcall processing logic in the main window.
All changes now go through the filter and sorting stage before all controls are removed
and only the controls matching to the sorted list are added to the stack panel.
2023-09-12 16:48:28 +02:00
..
add_user.py added a user login 2023-06-23 15:20:26 +02:00
BreCal.postman_collection.json Type für Participant, Content-Type in responses korrigiert 2023-08-07 12:19:20 +02:00
brecal.snk misc 2023-07-31 14:48:28 +02:00
BreCalApi.cs Added filtering and sorting to shipcalls in the list. 2023-09-12 16:48:28 +02:00
BreCalApi.yaml change settings to test version 2023-09-05 17:15:59 +02:00
create_schema.sql extended times and use flags on participant, added code to have a test version of the client 2023-09-05 16:38:40 +02:00
logo_bremen_calling.png Mockup der Suche, Lokalisierung hinzugefügt (statisch via Resources) 2023-08-04 11:13:55 +02:00
Readme.md synchronized database create and dump script, including instructions 2023-04-27 09:39:29 +02:00
Remote BreCalEMSWE.postman_environment.json Updated postman collection 2023-06-27 11:34:43 +02:00
sample_data.sql extended times and use flags on participant, added code to have a test version of the client 2023-09-05 16:38:40 +02:00

Database Bremen Calling

Server

mariadb v 10

Getting started

  • Execute 'create_schema.sql' and import 'sample_data.sql'

If the database is updated or changed, please update these files. To avoid errors, it is best to drop the entire database, edit the create script and re-import the sample data.

Creating the dump file

mysqldump -u [username] -p --no-create-info --complete-insert bremen_calling > sample_data.sql

Removing existing tables

We want only to remove the tables in order to preserve user privileges

SELECT concat('DROP TABLE IF EXISTS `', table_name, '`;')
FROM information_schema.tables
WHERE table_schema = 'bremen_calling';

outputs complete drop statements

SET FOREIGN_KEY_CHECKS = 0;
-- Your semicolon separated list of DROP statements here
DROP TABLE IF EXISTS `notification`;
DROP TABLE IF EXISTS `role`;
DROP TABLE IF EXISTS `ship`;
DROP TABLE IF EXISTS `participant`;
DROP TABLE IF EXISTS `times`;
DROP TABLE IF EXISTS `role_securable_map`;
DROP TABLE IF EXISTS `user_role_map`;
DROP TABLE IF EXISTS `user`;
DROP TABLE IF EXISTS `securable`;
DROP TABLE IF EXISTS `shipcall_participant_map`;
DROP TABLE IF EXISTS `berth`;
DROP TABLE IF EXISTS `shipcall`;

SET FOREIGN_KEY_CHECKS = 1;