Revision 14094
Added by Aaron Marcuse-Kubitza over 10 years ago
make_analytical_db | ||
---|---|---|
28 | 28 |
} |
29 | 29 |
|
30 | 30 |
((set -x; "$selfDir/psql_verbose_vegbien") <<EOF |
31 |
GRANT USAGE ON SCHEMA analytical_db TO bien_read; |
|
32 |
GRANT USAGE ON SCHEMA analytical_db TO public_; |
|
33 |
|
|
34 | 31 |
$(mk_table geoscrub_input) |
35 | 32 |
|
36 | 33 |
$(mk_table threatened_taxonlabel) |
... | ... | |
38 | 35 |
$(mk_table taxon_trait) |
39 | 36 |
$(mk_table analytical_stem) |
40 | 37 |
$(mk_table provider_count) |
41 |
GRANT SELECT ON TABLE analytical_db.provider_count TO public_; |
|
42 | 38 |
EOF |
43 | 39 |
) || exit |
44 | 40 |
|
Also available in: Unified diff
bin/make_analytical_db: removed unused code to create views in the analytical_db schema