Revision 11730
Added by Aaron Marcuse-Kubitza about 11 years ago
schemas/vegbien.my.sql | ||
---|---|---|
1767 | 1767 |
|
1768 | 1768 |
|
1769 | 1769 |
-- |
1770 |
-- Name: collected_date_min; Type: VIEW; Schema: public; Owner: - |
|
1771 |
-- |
|
1772 |
|
|
1773 |
|
|
1774 |
|
|
1775 |
|
|
1776 |
-- |
|
1770 | 1777 |
-- Name: commclass; Type: TABLE; Schema: public; Owner: -; Tablespace: |
1771 | 1778 |
-- |
1772 | 1779 |
|
... | ... | |
7690 | 7697 |
|
7691 | 7698 |
|
7692 | 7699 |
-- |
7700 |
-- Name: collected_date_min; Type: ACL; Schema: public; Owner: - |
|
7701 |
-- |
|
7702 |
|
|
7703 |
|
|
7704 |
|
|
7705 |
|
|
7706 |
|
|
7707 |
|
|
7708 |
|
|
7709 |
|
|
7710 |
-- |
|
7693 | 7711 |
-- Name: commclass; Type: ACL; Schema: public; Owner: - |
7694 | 7712 |
-- |
7695 | 7713 |
|
schemas/vegbien.sql | ||
---|---|---|
2996 | 2996 |
|
2997 | 2997 |
|
2998 | 2998 |
-- |
2999 |
-- Name: collected_date_min; Type: VIEW; Schema: public; Owner: - |
|
3000 |
-- |
|
3001 |
|
|
3002 |
CREATE VIEW collected_date_min AS |
|
3003 |
SELECT analytical_stem."dateCollected" |
|
3004 |
FROM analytical_stem |
|
3005 |
WHERE (analytical_stem."dateCollected" IS NOT NULL) |
|
3006 |
ORDER BY analytical_stem."dateCollected" |
|
3007 |
LIMIT 1; |
|
3008 |
|
|
3009 |
|
|
3010 |
-- |
|
2999 | 3011 |
-- Name: commclass; Type: TABLE; Schema: public; Owner: -; Tablespace: |
3000 | 3012 |
-- |
3001 | 3013 |
|
... | ... | |
9335 | 9347 |
|
9336 | 9348 |
|
9337 | 9349 |
-- |
9350 |
-- Name: collected_date_min; Type: ACL; Schema: public; Owner: - |
|
9351 |
-- |
|
9352 |
|
|
9353 |
REVOKE ALL ON TABLE collected_date_min FROM PUBLIC; |
|
9354 |
REVOKE ALL ON TABLE collected_date_min FROM bien; |
|
9355 |
GRANT ALL ON TABLE collected_date_min TO bien; |
|
9356 |
GRANT SELECT ON TABLE collected_date_min TO bien_read; |
|
9357 |
GRANT SELECT ON TABLE collected_date_min TO public_; |
|
9358 |
|
|
9359 |
|
|
9360 |
-- |
|
9338 | 9361 |
-- Name: commclass; Type: ACL; Schema: public; Owner: - |
9339 | 9362 |
-- |
9340 | 9363 |
|
Also available in: Unified diff
schemas/vegbien.sql: added collected_date_min view