-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Siren works for all use cases now (Not tested enough yet)
- Loading branch information
Showing
7 changed files
with
3,383 additions
and
3,359 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CREATE EXTENSION IF NOT EXISTS postgis; | ||
CREATE EXTENSION IF NOT EXISTS postgis_topology; | ||
CREATE EXTENSION IF NOT EXISTS hstore; | ||
GRANT SELECT, INSERT, REFERENCES ON TABLE spatial_ref_sys to siren; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
DROP DATABASE IF EXISTS sirendb; | ||
DO | ||
$body$ | ||
BEGIN | ||
IF NOT EXISTS ( | ||
SELECT * | ||
FROM pg_catalog.pg_user | ||
WHERE usename = 'siren') THEN | ||
CREATE USER siren LOGIN PASSWORD 'sirenpass'; | ||
END IF; | ||
END | ||
$body$; | ||
CREATE DATABASE sirendb; | ||
GRANT ALL PRIVILEGES ON DATABASE sirendb to siren; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters