view schema/updates/1460/01.markings.sql @ 5508:29af073c824d deactivate-users

Client: Implement reactivating of user * Add HTTP request to reactivate a deactivated user * This is done from the user's edit-dialog while typing an email for this user is necessary to complete this process.
author Fadi Abbud <fadi.abbud@intevation.de>
date Thu, 23 Sep 2021 17:33:07 +0200
parents ad8e3fffb868
children
line wrap: on
line source

INSERT INTO survey_types (survey_type) VALUES ('marking');

CREATE TABLE waterway.sounding_results_marking_points (
   sounding_result_id int NOT NULL REFERENCES waterway.sounding_results
     ON DELETE CASCADE,
   height numeric NOT NULL,
   points geography(MULTIPOINTZ, 4326) NOT NULL,
   PRIMARY KEY (sounding_result_id, height)
);

GRANT INSERT, UPDATE, DELETE ON waterway.sounding_results_marking_points
  TO waterway_admin;

GRANT SELECT ON waterway.sounding_results_marking_points
  TO waterway_user;