00-config.sql 886 B

1234567891011121314151617181920212223242526272829303132
  1. -- Copyright Materialize, Inc. and contributors. All rights reserved.
  2. --
  3. -- Use of this software is governed by the Business Source License
  4. -- included in the LICENSE file at the root of this repository.
  5. --
  6. -- As of the Change Date specified in that file, in accordance with
  7. -- the Business Source License, use of this software will be governed
  8. -- by the Apache License, Version 2.0.
  9. CREATE TABLE config (
  10. uploads_enabled BOOL NOT NULL,
  11. min_required_data_version_for_uploads INT NOT NULL,
  12. only_notify_about_communication_failures_on_main BOOL NOT NULL
  13. );
  14. INSERT INTO config
  15. (
  16. uploads_enabled,
  17. min_required_data_version_for_uploads,
  18. only_notify_about_communication_failures_on_main
  19. )
  20. VALUES
  21. (
  22. TRUE,
  23. 6,
  24. FALSE
  25. );
  26. CREATE ROLE qa;
  27. GRANT qa TO "dennis.felsing@materialize.com";
  28. ALTER TABLE config OWNER TO qa;
  29. GRANT SELECT ON TABLE config TO "hetzner-ci";