182 |
182 |
inferencearea double precision,
|
183 |
183 |
stratumbase double precision,
|
184 |
184 |
stratumheight double precision,
|
185 |
|
emb_taxonimportance integer,
|
|
185 |
emb_collectiveobservation integer,
|
186 |
186 |
covercode character varying(10),
|
187 |
187 |
count integer NOT NULL
|
188 |
188 |
);
|
189 |
189 |
|
190 |
190 |
|
191 |
191 |
--
|
|
192 |
-- Name: collectiveobservation_collectiveobservation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
|
193 |
--
|
|
194 |
|
|
195 |
CREATE SEQUENCE collectiveobservation_collectiveobservation_id_seq
|
|
196 |
START WITH 1
|
|
197 |
INCREMENT BY 1
|
|
198 |
NO MINVALUE
|
|
199 |
NO MAXVALUE
|
|
200 |
CACHE 1;
|
|
201 |
|
|
202 |
|
|
203 |
--
|
|
204 |
-- Name: collectiveobservation_collectiveobservation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
|
205 |
--
|
|
206 |
|
|
207 |
ALTER SEQUENCE collectiveobservation_collectiveobservation_id_seq OWNED BY collectiveobservation.collectiveobservation_id;
|
|
208 |
|
|
209 |
|
|
210 |
--
|
192 |
211 |
-- Name: commclass; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
193 |
212 |
--
|
194 |
213 |
|
... | ... | |
1248 |
1267 |
|
1249 |
1268 |
|
1250 |
1269 |
--
|
1251 |
|
-- Name: plotevent; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1252 |
|
--
|
1253 |
|
|
1254 |
|
CREATE TABLE plotevent (
|
1255 |
|
plotevent_id integer NOT NULL,
|
1256 |
|
previous_id integer,
|
1257 |
|
plot_id integer NOT NULL,
|
1258 |
|
project_id integer,
|
1259 |
|
authorcode character varying(30),
|
1260 |
|
dateaccuracy character varying(30),
|
1261 |
|
covermethod_id integer,
|
1262 |
|
coverdispersion character varying(30),
|
1263 |
|
autotaxoncover boolean,
|
1264 |
|
stratummethod_id integer,
|
1265 |
|
methodnarrative text,
|
1266 |
|
taxonobservationarea double precision,
|
1267 |
|
stemsizelimit double precision,
|
1268 |
|
stemobservationarea double precision,
|
1269 |
|
stemsamplemethod character varying(30),
|
1270 |
|
originaldata text,
|
1271 |
|
effortlevel character varying(30),
|
1272 |
|
plotvalidationlevel integer,
|
1273 |
|
floristicquality character varying(30),
|
1274 |
|
bryophytequality character varying(30),
|
1275 |
|
lichenquality character varying(30),
|
1276 |
|
observationnarrative text,
|
1277 |
|
landscapenarrative text,
|
1278 |
|
homogeneity character varying(50),
|
1279 |
|
phenologicaspect character varying(30),
|
1280 |
|
representativeness character varying(255),
|
1281 |
|
standmaturity character varying(50),
|
1282 |
|
successionalstatus text,
|
1283 |
|
basalarea double precision,
|
1284 |
|
hydrologicregime character varying(30),
|
1285 |
|
soilmoistureregime character varying(30),
|
1286 |
|
soildrainage character varying(30),
|
1287 |
|
watersalinity character varying(30),
|
1288 |
|
waterdepth double precision,
|
1289 |
|
shoredistance double precision,
|
1290 |
|
soildepth double precision,
|
1291 |
|
organicdepth double precision,
|
1292 |
|
soiltaxon_id integer,
|
1293 |
|
soiltaxonsrc character varying(200),
|
1294 |
|
percentbedrock double precision,
|
1295 |
|
percentrockgravel double precision,
|
1296 |
|
percentwood double precision,
|
1297 |
|
percentlitter double precision,
|
1298 |
|
percentbaresoil double precision,
|
1299 |
|
percentwater double precision,
|
1300 |
|
percentother double precision,
|
1301 |
|
nameother character varying(30),
|
1302 |
|
treeht double precision,
|
1303 |
|
shrubht double precision,
|
1304 |
|
fieldht double precision,
|
1305 |
|
nonvascularht double precision,
|
1306 |
|
submergedht double precision,
|
1307 |
|
treecover double precision,
|
1308 |
|
shrubcover double precision,
|
1309 |
|
fieldcover double precision,
|
1310 |
|
nonvascularcover double precision,
|
1311 |
|
floatingcover double precision,
|
1312 |
|
submergedcover double precision,
|
1313 |
|
dominantstratum character varying(40),
|
1314 |
|
growthform1type character varying(40),
|
1315 |
|
growthform2type character varying(40),
|
1316 |
|
growthform3type character varying(40),
|
1317 |
|
growthform1cover double precision,
|
1318 |
|
growthform2cover double precision,
|
1319 |
|
growthform3cover double precision,
|
1320 |
|
totalcover double precision,
|
1321 |
|
notespublic boolean,
|
1322 |
|
notesmgt boolean,
|
1323 |
|
revisions boolean,
|
1324 |
|
obsstartdate timestamp with time zone,
|
1325 |
|
obsenddate timestamp with time zone,
|
1326 |
|
dateentered timestamp with time zone DEFAULT now(),
|
1327 |
|
emb_observation integer,
|
1328 |
|
interp_orig_ci_id integer,
|
1329 |
|
interp_orig_cc_id integer,
|
1330 |
|
interp_orig_sciname text,
|
1331 |
|
interp_orig_code text,
|
1332 |
|
interp_orig_party_id integer,
|
1333 |
|
interp_orig_partyname text,
|
1334 |
|
interp_current_ci_id integer,
|
1335 |
|
interp_current_cc_id integer,
|
1336 |
|
interp_current_sciname text,
|
1337 |
|
interp_current_code text,
|
1338 |
|
interp_current_party_id integer,
|
1339 |
|
interp_current_partyname text,
|
1340 |
|
interp_bestfit_ci_id integer,
|
1341 |
|
interp_bestfit_cc_id integer,
|
1342 |
|
interp_bestfit_sciname text,
|
1343 |
|
interp_bestfit_code text,
|
1344 |
|
interp_bestfit_party_id integer,
|
1345 |
|
interp_bestfit_partyname text,
|
1346 |
|
toptaxon1name character varying(255),
|
1347 |
|
toptaxon2name character varying(255),
|
1348 |
|
toptaxon3name character varying(255),
|
1349 |
|
toptaxon4name character varying(255),
|
1350 |
|
toptaxon5name character varying(255),
|
1351 |
|
numberoftaxa integer,
|
1352 |
|
accessioncode character varying(255)
|
1353 |
|
);
|
1354 |
|
|
1355 |
|
|
1356 |
|
--
|
1357 |
|
-- Name: observation_observation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1358 |
|
--
|
1359 |
|
|
1360 |
|
CREATE SEQUENCE observation_observation_id_seq
|
1361 |
|
START WITH 1
|
1362 |
|
INCREMENT BY 1
|
1363 |
|
NO MINVALUE
|
1364 |
|
NO MAXVALUE
|
1365 |
|
CACHE 1;
|
1366 |
|
|
1367 |
|
|
1368 |
|
--
|
1369 |
|
-- Name: observation_observation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1370 |
|
--
|
1371 |
|
|
1372 |
|
ALTER SEQUENCE observation_observation_id_seq OWNED BY plotevent.plotevent_id;
|
1373 |
|
|
1374 |
|
|
1375 |
|
--
|
1376 |
|
-- Name: observationcontributor; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1377 |
|
--
|
1378 |
|
|
1379 |
|
CREATE TABLE observationcontributor (
|
1380 |
|
observationcontributor_id integer NOT NULL,
|
1381 |
|
plotevent_id integer NOT NULL,
|
1382 |
|
party_id integer NOT NULL,
|
1383 |
|
role_id integer NOT NULL,
|
1384 |
|
contributiondate timestamp with time zone
|
1385 |
|
);
|
1386 |
|
|
1387 |
|
|
1388 |
|
--
|
1389 |
|
-- Name: observationcontributor_observationcontributor_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1390 |
|
--
|
1391 |
|
|
1392 |
|
CREATE SEQUENCE observationcontributor_observationcontributor_id_seq
|
1393 |
|
START WITH 1
|
1394 |
|
INCREMENT BY 1
|
1395 |
|
NO MINVALUE
|
1396 |
|
NO MAXVALUE
|
1397 |
|
CACHE 1;
|
1398 |
|
|
1399 |
|
|
1400 |
|
--
|
1401 |
|
-- Name: observationcontributor_observationcontributor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1402 |
|
--
|
1403 |
|
|
1404 |
|
ALTER SEQUENCE observationcontributor_observationcontributor_id_seq OWNED BY observationcontributor.observationcontributor_id;
|
1405 |
|
|
1406 |
|
|
1407 |
|
--
|
1408 |
|
-- Name: observationsynonym; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1409 |
|
--
|
1410 |
|
|
1411 |
|
CREATE TABLE observationsynonym (
|
1412 |
|
observationsynonym_id integer NOT NULL,
|
1413 |
|
synonymobservation_id integer NOT NULL,
|
1414 |
|
primaryobservation_id integer NOT NULL,
|
1415 |
|
party_id integer NOT NULL,
|
1416 |
|
role_id integer NOT NULL,
|
1417 |
|
synonymcomment text,
|
1418 |
|
classstartdate timestamp with time zone DEFAULT now() NOT NULL,
|
1419 |
|
classstopdate timestamp with time zone,
|
1420 |
|
accessioncode character varying(255)
|
1421 |
|
);
|
1422 |
|
|
1423 |
|
|
1424 |
|
--
|
1425 |
|
-- Name: observationsynonym_observationsynonym_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
1426 |
|
--
|
1427 |
|
|
1428 |
|
CREATE SEQUENCE observationsynonym_observationsynonym_id_seq
|
1429 |
|
START WITH 1
|
1430 |
|
INCREMENT BY 1
|
1431 |
|
NO MINVALUE
|
1432 |
|
NO MAXVALUE
|
1433 |
|
CACHE 1;
|
1434 |
|
|
1435 |
|
|
1436 |
|
--
|
1437 |
|
-- Name: observationsynonym_observationsynonym_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
1438 |
|
--
|
1439 |
|
|
1440 |
|
ALTER SEQUENCE observationsynonym_observationsynonym_id_seq OWNED BY observationsynonym.observationsynonym_id;
|
1441 |
|
|
1442 |
|
|
1443 |
|
--
|
1444 |
1270 |
-- Name: party; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1445 |
1271 |
--
|
1446 |
1272 |
|
... | ... | |
1832 |
1658 |
|
1833 |
1659 |
|
1834 |
1660 |
--
|
|
1661 |
-- Name: plotevent; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
|
1662 |
--
|
|
1663 |
|
|
1664 |
CREATE TABLE plotevent (
|
|
1665 |
plotevent_id integer NOT NULL,
|
|
1666 |
previous_id integer,
|
|
1667 |
plot_id integer NOT NULL,
|
|
1668 |
project_id integer,
|
|
1669 |
authorcode character varying(30),
|
|
1670 |
dateaccuracy character varying(30),
|
|
1671 |
covermethod_id integer,
|
|
1672 |
coverdispersion character varying(30),
|
|
1673 |
autotaxoncover boolean,
|
|
1674 |
stratummethod_id integer,
|
|
1675 |
methodnarrative text,
|
|
1676 |
taxonoccurrencearea double precision,
|
|
1677 |
stemsizelimit double precision,
|
|
1678 |
stemobservationarea double precision,
|
|
1679 |
stemsamplemethod character varying(30),
|
|
1680 |
originaldata text,
|
|
1681 |
effortlevel character varying(30),
|
|
1682 |
plotvalidationlevel integer,
|
|
1683 |
floristicquality character varying(30),
|
|
1684 |
bryophytequality character varying(30),
|
|
1685 |
lichenquality character varying(30),
|
|
1686 |
ploteventnarrative text,
|
|
1687 |
landscapenarrative text,
|
|
1688 |
homogeneity character varying(50),
|
|
1689 |
phenologicaspect character varying(30),
|
|
1690 |
representativeness character varying(255),
|
|
1691 |
standmaturity character varying(50),
|
|
1692 |
successionalstatus text,
|
|
1693 |
basalarea double precision,
|
|
1694 |
hydrologicregime character varying(30),
|
|
1695 |
soilmoistureregime character varying(30),
|
|
1696 |
soildrainage character varying(30),
|
|
1697 |
watersalinity character varying(30),
|
|
1698 |
waterdepth double precision,
|
|
1699 |
shoredistance double precision,
|
|
1700 |
soildepth double precision,
|
|
1701 |
organicdepth double precision,
|
|
1702 |
soiltaxon_id integer,
|
|
1703 |
soiltaxonsrc character varying(200),
|
|
1704 |
percentbedrock double precision,
|
|
1705 |
percentrockgravel double precision,
|
|
1706 |
percentwood double precision,
|
|
1707 |
percentlitter double precision,
|
|
1708 |
percentbaresoil double precision,
|
|
1709 |
percentwater double precision,
|
|
1710 |
percentother double precision,
|
|
1711 |
nameother character varying(30),
|
|
1712 |
treeht double precision,
|
|
1713 |
shrubht double precision,
|
|
1714 |
fieldht double precision,
|
|
1715 |
nonvascularht double precision,
|
|
1716 |
submergedht double precision,
|
|
1717 |
treecover double precision,
|
|
1718 |
shrubcover double precision,
|
|
1719 |
fieldcover double precision,
|
|
1720 |
nonvascularcover double precision,
|
|
1721 |
floatingcover double precision,
|
|
1722 |
submergedcover double precision,
|
|
1723 |
dominantstratum character varying(40),
|
|
1724 |
growthform1type character varying(40),
|
|
1725 |
growthform2type character varying(40),
|
|
1726 |
growthform3type character varying(40),
|
|
1727 |
growthform1cover double precision,
|
|
1728 |
growthform2cover double precision,
|
|
1729 |
growthform3cover double precision,
|
|
1730 |
totalcover double precision,
|
|
1731 |
notespublic boolean,
|
|
1732 |
notesmgt boolean,
|
|
1733 |
revisions boolean,
|
|
1734 |
obsstartdate timestamp with time zone,
|
|
1735 |
obsenddate timestamp with time zone,
|
|
1736 |
dateentered timestamp with time zone DEFAULT now(),
|
|
1737 |
emb_plotevent integer,
|
|
1738 |
interp_orig_ci_id integer,
|
|
1739 |
interp_orig_cc_id integer,
|
|
1740 |
interp_orig_sciname text,
|
|
1741 |
interp_orig_code text,
|
|
1742 |
interp_orig_party_id integer,
|
|
1743 |
interp_orig_partyname text,
|
|
1744 |
interp_current_ci_id integer,
|
|
1745 |
interp_current_cc_id integer,
|
|
1746 |
interp_current_sciname text,
|
|
1747 |
interp_current_code text,
|
|
1748 |
interp_current_party_id integer,
|
|
1749 |
interp_current_partyname text,
|
|
1750 |
interp_bestfit_ci_id integer,
|
|
1751 |
interp_bestfit_cc_id integer,
|
|
1752 |
interp_bestfit_sciname text,
|
|
1753 |
interp_bestfit_code text,
|
|
1754 |
interp_bestfit_party_id integer,
|
|
1755 |
interp_bestfit_partyname text,
|
|
1756 |
toptaxon1name character varying(255),
|
|
1757 |
toptaxon2name character varying(255),
|
|
1758 |
toptaxon3name character varying(255),
|
|
1759 |
toptaxon4name character varying(255),
|
|
1760 |
toptaxon5name character varying(255),
|
|
1761 |
numberoftaxa integer,
|
|
1762 |
accessioncode character varying(255)
|
|
1763 |
);
|
|
1764 |
|
|
1765 |
|
|
1766 |
--
|
|
1767 |
-- Name: plotevent_plotevent_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
|
1768 |
--
|
|
1769 |
|
|
1770 |
CREATE SEQUENCE plotevent_plotevent_id_seq
|
|
1771 |
START WITH 1
|
|
1772 |
INCREMENT BY 1
|
|
1773 |
NO MINVALUE
|
|
1774 |
NO MAXVALUE
|
|
1775 |
CACHE 1;
|
|
1776 |
|
|
1777 |
|
|
1778 |
--
|
|
1779 |
-- Name: plotevent_plotevent_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
|
1780 |
--
|
|
1781 |
|
|
1782 |
ALTER SEQUENCE plotevent_plotevent_id_seq OWNED BY plotevent.plotevent_id;
|
|
1783 |
|
|
1784 |
|
|
1785 |
--
|
|
1786 |
-- Name: ploteventcontributor; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
|
1787 |
--
|
|
1788 |
|
|
1789 |
CREATE TABLE ploteventcontributor (
|
|
1790 |
ploteventcontributor_id integer NOT NULL,
|
|
1791 |
plotevent_id integer NOT NULL,
|
|
1792 |
party_id integer NOT NULL,
|
|
1793 |
role_id integer NOT NULL,
|
|
1794 |
contributiondate timestamp with time zone
|
|
1795 |
);
|
|
1796 |
|
|
1797 |
|
|
1798 |
--
|
|
1799 |
-- Name: ploteventcontributor_ploteventcontributor_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
|
1800 |
--
|
|
1801 |
|
|
1802 |
CREATE SEQUENCE ploteventcontributor_ploteventcontributor_id_seq
|
|
1803 |
START WITH 1
|
|
1804 |
INCREMENT BY 1
|
|
1805 |
NO MINVALUE
|
|
1806 |
NO MAXVALUE
|
|
1807 |
CACHE 1;
|
|
1808 |
|
|
1809 |
|
|
1810 |
--
|
|
1811 |
-- Name: ploteventcontributor_ploteventcontributor_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
|
1812 |
--
|
|
1813 |
|
|
1814 |
ALTER SEQUENCE ploteventcontributor_ploteventcontributor_id_seq OWNED BY ploteventcontributor.ploteventcontributor_id;
|
|
1815 |
|
|
1816 |
|
|
1817 |
--
|
|
1818 |
-- Name: ploteventsynonym; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
|
1819 |
--
|
|
1820 |
|
|
1821 |
CREATE TABLE ploteventsynonym (
|
|
1822 |
ploteventsynonym_id integer NOT NULL,
|
|
1823 |
synonymplotevent_id integer NOT NULL,
|
|
1824 |
primaryplotevent_id integer NOT NULL,
|
|
1825 |
party_id integer NOT NULL,
|
|
1826 |
role_id integer NOT NULL,
|
|
1827 |
synonymcomment text,
|
|
1828 |
classstartdate timestamp with time zone DEFAULT now() NOT NULL,
|
|
1829 |
classstopdate timestamp with time zone,
|
|
1830 |
accessioncode character varying(255)
|
|
1831 |
);
|
|
1832 |
|
|
1833 |
|
|
1834 |
--
|
|
1835 |
-- Name: ploteventsynonym_ploteventsynonym_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
|
1836 |
--
|
|
1837 |
|
|
1838 |
CREATE SEQUENCE ploteventsynonym_ploteventsynonym_id_seq
|
|
1839 |
START WITH 1
|
|
1840 |
INCREMENT BY 1
|
|
1841 |
NO MINVALUE
|
|
1842 |
NO MAXVALUE
|
|
1843 |
CACHE 1;
|
|
1844 |
|
|
1845 |
|
|
1846 |
--
|
|
1847 |
-- Name: ploteventsynonym_ploteventsynonym_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
|
1848 |
--
|
|
1849 |
|
|
1850 |
ALTER SEQUENCE ploteventsynonym_ploteventsynonym_id_seq OWNED BY ploteventsynonym.ploteventsynonym_id;
|
|
1851 |
|
|
1852 |
|
|
1853 |
--
|
1835 |
1854 |
-- Name: project; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
1836 |
1855 |
--
|
1837 |
1856 |
|
... | ... | |
2209 |
2228 |
stemxposition double precision,
|
2210 |
2229 |
stemyposition double precision,
|
2211 |
2230 |
stemhealth character varying(50),
|
2212 |
|
emb_stemlocation integer,
|
|
2231 |
emb_stemobservation integer,
|
2213 |
2232 |
stemdiameter double precision,
|
2214 |
2233 |
stemheight double precision,
|
2215 |
2234 |
stemheightaccuracy double precision,
|
... | ... | |
2218 |
2237 |
|
2219 |
2238 |
|
2220 |
2239 |
--
|
2221 |
|
-- Name: stemlocation_stemlocation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
|
2240 |
-- Name: stemobservation_stemobservation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2222 |
2241 |
--
|
2223 |
2242 |
|
2224 |
|
CREATE SEQUENCE stemlocation_stemlocation_id_seq
|
|
2243 |
CREATE SEQUENCE stemobservation_stemobservation_id_seq
|
2225 |
2244 |
START WITH 1
|
2226 |
2245 |
INCREMENT BY 1
|
2227 |
2246 |
NO MINVALUE
|
... | ... | |
2230 |
2249 |
|
2231 |
2250 |
|
2232 |
2251 |
--
|
2233 |
|
-- Name: stemlocation_stemlocation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
|
2252 |
-- Name: stemobservation_stemobservation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2234 |
2253 |
--
|
2235 |
2254 |
|
2236 |
|
ALTER SEQUENCE stemlocation_stemlocation_id_seq OWNED BY stemobservation.stemobservation_id;
|
|
2255 |
ALTER SEQUENCE stemobservation_stemobservation_id_seq OWNED BY stemobservation.stemobservation_id;
|
2237 |
2256 |
|
2238 |
2257 |
|
2239 |
2258 |
--
|
... | ... | |
2439 |
2458 |
|
2440 |
2459 |
|
2441 |
2460 |
--
|
2442 |
|
-- Name: taxonimportance_taxonimportance_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2443 |
|
--
|
2444 |
|
|
2445 |
|
CREATE SEQUENCE taxonimportance_taxonimportance_id_seq
|
2446 |
|
START WITH 1
|
2447 |
|
INCREMENT BY 1
|
2448 |
|
NO MINVALUE
|
2449 |
|
NO MAXVALUE
|
2450 |
|
CACHE 1;
|
2451 |
|
|
2452 |
|
|
2453 |
|
--
|
2454 |
|
-- Name: taxonimportance_taxonimportance_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2455 |
|
--
|
2456 |
|
|
2457 |
|
ALTER SEQUENCE taxonimportance_taxonimportance_id_seq OWNED BY collectiveobservation.collectiveobservation_id;
|
2458 |
|
|
2459 |
|
|
2460 |
|
--
|
2461 |
2461 |
-- Name: taxonoccurrence; Type: TABLE; Schema: public; Owner: -; Tablespace:
|
2462 |
2462 |
--
|
2463 |
2463 |
|
... | ... | |
2467 |
2467 |
authorplantname character varying(255),
|
2468 |
2468 |
reference_id integer,
|
2469 |
2469 |
taxoninferencearea double precision,
|
2470 |
|
emb_taxonobservation integer,
|
|
2470 |
emb_taxonoccurrence integer,
|
2471 |
2471 |
int_origplantconcept_id integer,
|
2472 |
2472 |
int_origplantscifull character varying(255),
|
2473 |
2473 |
int_origplantscinamenoauth character varying(255),
|
... | ... | |
2483 |
2483 |
|
2484 |
2484 |
|
2485 |
2485 |
--
|
2486 |
|
-- Name: taxonobservation_taxonobservation_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
|
2486 |
-- Name: taxonoccurrence_taxonoccurrence_id_seq; Type: SEQUENCE; Schema: public; Owner: -
|
2487 |
2487 |
--
|
2488 |
2488 |
|
2489 |
|
CREATE SEQUENCE taxonobservation_taxonobservation_id_seq
|
|
2489 |
CREATE SEQUENCE taxonoccurrence_taxonoccurrence_id_seq
|
2490 |
2490 |
START WITH 1
|
2491 |
2491 |
INCREMENT BY 1
|
2492 |
2492 |
NO MINVALUE
|
... | ... | |
2495 |
2495 |
|
2496 |
2496 |
|
2497 |
2497 |
--
|
2498 |
|
-- Name: taxonobservation_taxonobservation_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
|
2498 |
-- Name: taxonoccurrence_taxonoccurrence_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
|
2499 |
2499 |
--
|
2500 |
2500 |
|
2501 |
|
ALTER SEQUENCE taxonobservation_taxonobservation_id_seq OWNED BY taxonoccurrence.taxonoccurrence_id;
|
|
2501 |
ALTER SEQUENCE taxonoccurrence_taxonoccurrence_id_seq OWNED BY taxonoccurrence.taxonoccurrence_id;
|
2502 |
2502 |
|
2503 |
2503 |
|
2504 |
2504 |
--
|
... | ... | |
3084 |
3084 |
-- Name: collectiveobservation_id; Type: DEFAULT; Schema: public; Owner: -
|
3085 |
3085 |
--
|
3086 |
3086 |
|
3087 |
|
ALTER TABLE collectiveobservation ALTER COLUMN collectiveobservation_id SET DEFAULT nextval('taxonimportance_taxonimportance_id_seq'::regclass);
|
|
3087 |
ALTER TABLE collectiveobservation ALTER COLUMN collectiveobservation_id SET DEFAULT nextval('collectiveobservation_collectiveobservation_id_seq'::regclass);
|
3088 |
3088 |
|
3089 |
3089 |
|
3090 |
3090 |
--
|
... | ... | |
3291 |
3291 |
|
3292 |
3292 |
|
3293 |
3293 |
--
|
3294 |
|
-- Name: observationcontributor_id; Type: DEFAULT; Schema: public; Owner: -
|
3295 |
|
--
|
3296 |
|
|
3297 |
|
ALTER TABLE observationcontributor ALTER COLUMN observationcontributor_id SET DEFAULT nextval('observationcontributor_observationcontributor_id_seq'::regclass);
|
3298 |
|
|
3299 |
|
|
3300 |
|
--
|
3301 |
|
-- Name: observationsynonym_id; Type: DEFAULT; Schema: public; Owner: -
|
3302 |
|
--
|
3303 |
|
|
3304 |
|
ALTER TABLE observationsynonym ALTER COLUMN observationsynonym_id SET DEFAULT nextval('observationsynonym_observationsynonym_id_seq'::regclass);
|
3305 |
|
|
3306 |
|
|
3307 |
|
--
|
3308 |
3294 |
-- Name: party_id; Type: DEFAULT; Schema: public; Owner: -
|
3309 |
3295 |
--
|
3310 |
3296 |
|
... | ... | |
3378 |
3364 |
-- Name: plotevent_id; Type: DEFAULT; Schema: public; Owner: -
|
3379 |
3365 |
--
|
3380 |
3366 |
|
3381 |
|
ALTER TABLE plotevent ALTER COLUMN plotevent_id SET DEFAULT nextval('observation_observation_id_seq'::regclass);
|
|
3367 |
ALTER TABLE plotevent ALTER COLUMN plotevent_id SET DEFAULT nextval('plotevent_plotevent_id_seq'::regclass);
|
3382 |
3368 |
|
3383 |
3369 |
|
3384 |
3370 |
--
|
|
3371 |
-- Name: ploteventcontributor_id; Type: DEFAULT; Schema: public; Owner: -
|
|
3372 |
--
|
|
3373 |
|
|
3374 |
ALTER TABLE ploteventcontributor ALTER COLUMN ploteventcontributor_id SET DEFAULT nextval('ploteventcontributor_ploteventcontributor_id_seq'::regclass);
|
|
3375 |
|
|
3376 |
|
|
3377 |
--
|
|
3378 |
-- Name: ploteventsynonym_id; Type: DEFAULT; Schema: public; Owner: -
|
|
3379 |
--
|
|
3380 |
|
|
3381 |
ALTER TABLE ploteventsynonym ALTER COLUMN ploteventsynonym_id SET DEFAULT nextval('ploteventsynonym_ploteventsynonym_id_seq'::regclass);
|
|
3382 |
|
|
3383 |
|
|
3384 |
--
|
3385 |
3385 |
-- Name: project_id; Type: DEFAULT; Schema: public; Owner: -
|
3386 |
3386 |
--
|
3387 |
3387 |
|
... | ... | |
3455 |
3455 |
-- Name: stemobservation_id; Type: DEFAULT; Schema: public; Owner: -
|
3456 |
3456 |
--
|
3457 |
3457 |
|
3458 |
|
ALTER TABLE stemobservation ALTER COLUMN stemobservation_id SET DEFAULT nextval('stemlocation_stemlocation_id_seq'::regclass);
|
|
3458 |
ALTER TABLE stemobservation ALTER COLUMN stemobservation_id SET DEFAULT nextval('stemobservation_stemobservation_id_seq'::regclass);
|
3459 |
3459 |
|
3460 |
3460 |
|
3461 |
3461 |
--
|
... | ... | |
3497 |
3497 |
-- Name: taxonoccurrence_id; Type: DEFAULT; Schema: public; Owner: -
|
3498 |
3498 |
--
|
3499 |
3499 |
|
3500 |
|
ALTER TABLE taxonoccurrence ALTER COLUMN taxonoccurrence_id SET DEFAULT nextval('taxonobservation_taxonobservation_id_seq'::regclass);
|
|
3500 |
ALTER TABLE taxonoccurrence ALTER COLUMN taxonoccurrence_id SET DEFAULT nextval('taxonoccurrence_taxonoccurrence_id_seq'::regclass);
|
3501 |
3501 |
|
3502 |
3502 |
|
3503 |
3503 |
--
|
... | ... | |
3638 |
3638 |
|
3639 |
3639 |
|
3640 |
3640 |
--
|
|
3641 |
-- Name: collectiveobservation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
|
3642 |
--
|
|
3643 |
|
|
3644 |
ALTER TABLE ONLY collectiveobservation
|
|
3645 |
ADD CONSTRAINT collectiveobservation_pkey PRIMARY KEY (collectiveobservation_id);
|
|
3646 |
|
|
3647 |
|
|
3648 |
--
|
3641 |
3649 |
-- Name: commclass_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
3642 |
3650 |
--
|
3643 |
3651 |
|
... | ... | |
3878 |
3886 |
|
3879 |
3887 |
|
3880 |
3888 |
--
|
3881 |
|
-- Name: observation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
3882 |
|
--
|
3883 |
|
|
3884 |
|
ALTER TABLE ONLY plotevent
|
3885 |
|
ADD CONSTRAINT observation_pkey PRIMARY KEY (plotevent_id);
|
3886 |
|
|
3887 |
|
|
3888 |
|
--
|
3889 |
|
-- Name: observationcontributor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
3890 |
|
--
|
3891 |
|
|
3892 |
|
ALTER TABLE ONLY observationcontributor
|
3893 |
|
ADD CONSTRAINT observationcontributor_pkey PRIMARY KEY (observationcontributor_id);
|
3894 |
|
|
3895 |
|
|
3896 |
|
--
|
3897 |
|
-- Name: observationsynonym_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
3898 |
|
--
|
3899 |
|
|
3900 |
|
ALTER TABLE ONLY observationsynonym
|
3901 |
|
ADD CONSTRAINT observationsynonym_pkey PRIMARY KEY (observationsynonym_id);
|
3902 |
|
|
3903 |
|
|
3904 |
|
--
|
3905 |
3889 |
-- Name: party_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
3906 |
3890 |
--
|
3907 |
3891 |
|
... | ... | |
3982 |
3966 |
|
3983 |
3967 |
|
3984 |
3968 |
--
|
|
3969 |
-- Name: plotevent_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
|
3970 |
--
|
|
3971 |
|
|
3972 |
ALTER TABLE ONLY plotevent
|
|
3973 |
ADD CONSTRAINT plotevent_pkey PRIMARY KEY (plotevent_id);
|
|
3974 |
|
|
3975 |
|
|
3976 |
--
|
|
3977 |
-- Name: ploteventcontributor_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
|
3978 |
--
|
|
3979 |
|
|
3980 |
ALTER TABLE ONLY ploteventcontributor
|
|
3981 |
ADD CONSTRAINT ploteventcontributor_pkey PRIMARY KEY (ploteventcontributor_id);
|
|
3982 |
|
|
3983 |
|
|
3984 |
--
|
|
3985 |
-- Name: ploteventsynonym_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
|
3986 |
--
|
|
3987 |
|
|
3988 |
ALTER TABLE ONLY ploteventsynonym
|
|
3989 |
ADD CONSTRAINT ploteventsynonym_pkey PRIMARY KEY (ploteventsynonym_id);
|
|
3990 |
|
|
3991 |
|
|
3992 |
--
|
3985 |
3993 |
-- Name: project_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
3986 |
3994 |
--
|
3987 |
3995 |
|
... | ... | |
4062 |
4070 |
|
4063 |
4071 |
|
4064 |
4072 |
--
|
4065 |
|
-- Name: stemlocation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
|
4073 |
-- Name: stemobservation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
4066 |
4074 |
--
|
4067 |
4075 |
|
4068 |
4076 |
ALTER TABLE ONLY stemobservation
|
4069 |
|
ADD CONSTRAINT stemlocation_pkey PRIMARY KEY (stemobservation_id);
|
|
4077 |
ADD CONSTRAINT stemobservation_pkey PRIMARY KEY (stemobservation_id);
|
4070 |
4078 |
|
4071 |
4079 |
|
4072 |
4080 |
--
|
... | ... | |
4118 |
4126 |
|
4119 |
4127 |
|
4120 |
4128 |
--
|
4121 |
|
-- Name: taxonimportance_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
|
4129 |
-- Name: taxonoccurrence_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
4122 |
4130 |
--
|
4123 |
4131 |
|
4124 |
|
ALTER TABLE ONLY collectiveobservation
|
4125 |
|
ADD CONSTRAINT taxonimportance_pkey PRIMARY KEY (collectiveobservation_id);
|
4126 |
|
|
4127 |
|
|
4128 |
|
--
|
4129 |
|
-- Name: taxonobservation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace:
|
4130 |
|
--
|
4131 |
|
|
4132 |
4132 |
ALTER TABLE ONLY taxonoccurrence
|
4133 |
|
ADD CONSTRAINT taxonobservation_pkey PRIMARY KEY (taxonoccurrence_id);
|
|
4133 |
ADD CONSTRAINT taxonoccurrence_pkey PRIMARY KEY (taxonoccurrence_id);
|
4134 |
4134 |
|
4135 |
4135 |
|
4136 |
4136 |
--
|
... | ... | |
4304 |
4304 |
|
4305 |
4305 |
|
4306 |
4306 |
--
|
|
4307 |
-- Name: collectiveobservation_taxonbin_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4308 |
--
|
|
4309 |
|
|
4310 |
CREATE INDEX collectiveobservation_taxonbin_id_x ON collectiveobservation USING btree (taxonbin_id);
|
|
4311 |
|
|
4312 |
|
|
4313 |
--
|
|
4314 |
-- Name: collectiveobservation_taxonoccurrence_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4315 |
--
|
|
4316 |
|
|
4317 |
CREATE INDEX collectiveobservation_taxonoccurrence_id_x ON collectiveobservation USING btree (taxonoccurrence_id);
|
|
4318 |
|
|
4319 |
|
|
4320 |
--
|
4307 |
4321 |
-- Name: commclass_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4308 |
4322 |
--
|
4309 |
4323 |
|
... | ... | |
4318 |
4332 |
|
4319 |
4333 |
|
4320 |
4334 |
--
|
4321 |
|
-- Name: commclass_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4335 |
-- Name: commclass_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4322 |
4336 |
--
|
4323 |
4337 |
|
4324 |
|
CREATE INDEX commclass_observation_id_x ON commclass USING btree (plotevent_id);
|
|
4338 |
CREATE INDEX commclass_plotevent_id_x ON commclass USING btree (plotevent_id);
|
4325 |
4339 |
|
4326 |
4340 |
|
4327 |
4341 |
--
|
... | ... | |
4528 |
4542 |
|
4529 |
4543 |
|
4530 |
4544 |
--
|
4531 |
|
-- Name: disturbanceobs_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4545 |
-- Name: disturbanceobs_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4532 |
4546 |
--
|
4533 |
4547 |
|
4534 |
|
CREATE INDEX disturbanceobs_observation_id_x ON disturbanceobs USING btree (plotevent_id);
|
|
4548 |
CREATE INDEX disturbanceobs_plotevent_id_x ON disturbanceobs USING btree (plotevent_id);
|
4535 |
4549 |
|
4536 |
4550 |
|
4537 |
4551 |
--
|
... | ... | |
4542 |
4556 |
|
4543 |
4557 |
|
4544 |
4558 |
--
|
|
4559 |
-- Name: emb_collectiveobservation_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4560 |
--
|
|
4561 |
|
|
4562 |
CREATE INDEX emb_collectiveobservation_idx ON collectiveobservation USING btree (emb_collectiveobservation);
|
|
4563 |
|
|
4564 |
|
|
4565 |
--
|
4545 |
4566 |
-- Name: emb_commclass_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4546 |
4567 |
--
|
4547 |
4568 |
|
... | ... | |
4570 |
4591 |
|
4571 |
4592 |
|
4572 |
4593 |
--
|
4573 |
|
-- Name: emb_observation_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4594 |
-- Name: emb_plot_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4574 |
4595 |
--
|
4575 |
4596 |
|
4576 |
|
CREATE INDEX emb_observation_idx ON plotevent USING btree (emb_observation);
|
|
4597 |
CREATE INDEX emb_plot_idx ON plot USING btree (emb_plot);
|
4577 |
4598 |
|
4578 |
4599 |
|
4579 |
4600 |
--
|
4580 |
|
-- Name: emb_plot_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4601 |
-- Name: emb_plotevent_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4581 |
4602 |
--
|
4582 |
4603 |
|
4583 |
|
CREATE INDEX emb_plot_idx ON plot USING btree (emb_plot);
|
|
4604 |
CREATE INDEX emb_plotevent_idx ON plotevent USING btree (emb_plotevent);
|
4584 |
4605 |
|
4585 |
4606 |
|
4586 |
4607 |
--
|
... | ... | |
4591 |
4612 |
|
4592 |
4613 |
|
4593 |
4614 |
--
|
4594 |
|
-- Name: emb_stemlocation_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4615 |
-- Name: emb_stemobservation_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4595 |
4616 |
--
|
4596 |
4617 |
|
4597 |
|
CREATE INDEX emb_stemlocation_idx ON stemobservation USING btree (emb_stemlocation);
|
|
4618 |
CREATE INDEX emb_stemobservation_idx ON stemobservation USING btree (emb_stemobservation);
|
4598 |
4619 |
|
4599 |
4620 |
|
4600 |
4621 |
--
|
... | ... | |
4612 |
4633 |
|
4613 |
4634 |
|
4614 |
4635 |
--
|
4615 |
|
-- Name: emb_taxonimportance_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4636 |
-- Name: emb_taxonoccurrence_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4616 |
4637 |
--
|
4617 |
4638 |
|
4618 |
|
CREATE INDEX emb_taxonimportance_idx ON collectiveobservation USING btree (emb_taxonimportance);
|
|
4639 |
CREATE INDEX emb_taxonoccurrence_idx ON taxonoccurrence USING btree (emb_taxonoccurrence);
|
4619 |
4640 |
|
4620 |
4641 |
|
4621 |
4642 |
--
|
4622 |
|
-- Name: emb_taxonobservation_idx; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4623 |
|
--
|
4624 |
|
|
4625 |
|
CREATE INDEX emb_taxonobservation_idx ON taxonoccurrence USING btree (emb_taxonobservation);
|
4626 |
|
|
4627 |
|
|
4628 |
|
--
|
4629 |
4643 |
-- Name: embargo_plot_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4630 |
4644 |
--
|
4631 |
4645 |
|
... | ... | |
4654 |
4668 |
|
4655 |
4669 |
|
4656 |
4670 |
--
|
4657 |
|
-- Name: graphic_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4671 |
-- Name: graphic_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4658 |
4672 |
--
|
4659 |
4673 |
|
4660 |
|
CREATE INDEX graphic_observation_id_x ON graphic USING btree (plotevent_id);
|
|
4674 |
CREATE INDEX graphic_plotevent_id_x ON graphic USING btree (plotevent_id);
|
4661 |
4675 |
|
4662 |
4676 |
|
4663 |
4677 |
--
|
4664 |
|
-- Name: individualplant_taxonimportance_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4678 |
-- Name: individualplant_collectiveobservation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4665 |
4679 |
--
|
4666 |
4680 |
|
4667 |
|
CREATE INDEX individualplant_taxonimportance_id_x ON individualplant USING btree (collectiveobservation_id);
|
|
4681 |
CREATE INDEX individualplant_collectiveobservation_id_x ON individualplant USING btree (collectiveobservation_id);
|
4668 |
4682 |
|
4669 |
4683 |
|
4670 |
4684 |
--
|
... | ... | |
4717 |
4731 |
|
4718 |
4732 |
|
4719 |
4733 |
--
|
4720 |
|
-- Name: observation_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4734 |
-- Name: party_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4721 |
4735 |
--
|
4722 |
4736 |
|
4723 |
|
CREATE UNIQUE INDEX observation_accessioncode_index ON plotevent USING btree (accessioncode);
|
|
4737 |
CREATE UNIQUE INDEX party_accessioncode_index ON party USING btree (accessioncode);
|
4724 |
4738 |
|
4725 |
4739 |
|
4726 |
4740 |
--
|
4727 |
|
-- Name: observation_covermethod_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4741 |
-- Name: party_currentname_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4728 |
4742 |
--
|
4729 |
4743 |
|
4730 |
|
CREATE INDEX observation_covermethod_id_x ON plotevent USING btree (covermethod_id);
|
|
4744 |
CREATE INDEX party_currentname_id_x ON party USING btree (currentname_id);
|
4731 |
4745 |
|
4732 |
4746 |
|
4733 |
4747 |
--
|
4734 |
|
-- Name: observation_plot_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4748 |
-- Name: partymember_childparty_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4735 |
4749 |
--
|
4736 |
4750 |
|
4737 |
|
CREATE INDEX observation_plot_id_x ON plotevent USING btree (plot_id);
|
|
4751 |
CREATE INDEX partymember_childparty_id_x ON partymember USING btree (childparty_id);
|
4738 |
4752 |
|
4739 |
4753 |
|
4740 |
4754 |
--
|
4741 |
|
-- Name: observation_previousobs_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4755 |
-- Name: partymember_parentparty_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4742 |
4756 |
--
|
4743 |
4757 |
|
4744 |
|
CREATE INDEX observation_previousobs_id_x ON plotevent USING btree (previous_id);
|
|
4758 |
CREATE INDEX partymember_parentparty_id_x ON partymember USING btree (parentparty_id);
|
4745 |
4759 |
|
4746 |
4760 |
|
4747 |
4761 |
--
|
4748 |
|
-- Name: observation_project_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4762 |
-- Name: partymember_role_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4749 |
4763 |
--
|
4750 |
4764 |
|
4751 |
|
CREATE INDEX observation_project_id_x ON plotevent USING btree (project_id);
|
|
4765 |
CREATE INDEX partymember_role_id_x ON partymember USING btree (role_id);
|
4752 |
4766 |
|
4753 |
4767 |
|
4754 |
4768 |
--
|
4755 |
|
-- Name: observation_soiltaxon_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4769 |
-- Name: place_namedplace_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4756 |
4770 |
--
|
4757 |
4771 |
|
4758 |
|
CREATE INDEX observation_soiltaxon_id_x ON plotevent USING btree (soiltaxon_id);
|
|
4772 |
CREATE INDEX place_namedplace_id_x ON place USING btree (namedplace_id);
|
4759 |
4773 |
|
4760 |
4774 |
|
4761 |
4775 |
--
|
4762 |
|
-- Name: observation_stratummethod_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4776 |
-- Name: place_plot_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4763 |
4777 |
--
|
4764 |
4778 |
|
4765 |
|
CREATE INDEX observation_stratummethod_id_x ON plotevent USING btree (stratummethod_id);
|
|
4779 |
CREATE INDEX place_plot_id_x ON place USING btree (plot_id);
|
4766 |
4780 |
|
4767 |
4781 |
|
4768 |
4782 |
--
|
4769 |
|
-- Name: observationcontributor_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4783 |
-- Name: plantconcept_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4770 |
4784 |
--
|
4771 |
4785 |
|
4772 |
|
CREATE INDEX observationcontributor_observation_id_x ON observationcontributor USING btree (plotevent_id);
|
|
4786 |
CREATE UNIQUE INDEX plantconcept_accessioncode_index ON plantconcept USING btree (accessioncode);
|
4773 |
4787 |
|
4774 |
4788 |
|
4775 |
4789 |
--
|
4776 |
|
-- Name: observationcontributor_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4790 |
-- Name: plantconcept_dobscount_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4777 |
4791 |
--
|
4778 |
4792 |
|
4779 |
|
CREATE INDEX observationcontributor_party_id_x ON observationcontributor USING btree (party_id);
|
|
4793 |
CREATE INDEX plantconcept_dobscount_x ON plantconcept USING btree (d_obscount);
|
4780 |
4794 |
|
4781 |
4795 |
|
4782 |
4796 |
--
|
4783 |
|
-- Name: observationcontributor_role_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4797 |
-- Name: plantconcept_plantname_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4784 |
4798 |
--
|
4785 |
4799 |
|
4786 |
|
CREATE INDEX observationcontributor_role_id_x ON observationcontributor USING btree (role_id);
|
|
4800 |
CREATE INDEX plantconcept_plantname_id_x ON plantconcept USING btree (plantname_id);
|
4787 |
4801 |
|
4788 |
4802 |
|
4789 |
4803 |
--
|
4790 |
|
-- Name: observationsynonym_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4804 |
-- Name: plantconcept_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4791 |
4805 |
--
|
4792 |
4806 |
|
4793 |
|
CREATE UNIQUE INDEX observationsynonym_accessioncode_index ON observationsynonym USING btree (accessioncode);
|
|
4807 |
CREATE INDEX plantconcept_reference_id_x ON plantconcept USING btree (reference_id);
|
4794 |
4808 |
|
4795 |
4809 |
|
4796 |
4810 |
--
|
4797 |
|
-- Name: observationsynonym_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4811 |
-- Name: plantcorrelation_plantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4798 |
4812 |
--
|
4799 |
4813 |
|
4800 |
|
CREATE INDEX observationsynonym_party_id_x ON observationsynonym USING btree (party_id);
|
|
4814 |
CREATE INDEX plantcorrelation_plantconcept_id_x ON plantcorrelation USING btree (plantconcept_id);
|
4801 |
4815 |
|
4802 |
4816 |
|
4803 |
4817 |
--
|
4804 |
|
-- Name: observationsynonym_primaryobservation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4818 |
-- Name: plantcorrelation_plantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4805 |
4819 |
--
|
4806 |
4820 |
|
4807 |
|
CREATE INDEX observationsynonym_primaryobservation_id_x ON observationsynonym USING btree (primaryobservation_id);
|
|
4821 |
CREATE INDEX plantcorrelation_plantstatus_id_x ON plantcorrelation USING btree (plantstatus_id);
|
4808 |
4822 |
|
4809 |
4823 |
|
4810 |
4824 |
--
|
4811 |
|
-- Name: observationsynonym_role_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4825 |
-- Name: plantlineage_childplantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4812 |
4826 |
--
|
4813 |
4827 |
|
4814 |
|
CREATE INDEX observationsynonym_role_id_x ON observationsynonym USING btree (role_id);
|
|
4828 |
CREATE INDEX plantlineage_childplantstatus_id_x ON plantlineage USING btree (childplantstatus_id);
|
4815 |
4829 |
|
4816 |
4830 |
|
4817 |
4831 |
--
|
4818 |
|
-- Name: observationsynonym_synonymobservation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4832 |
-- Name: plantlineage_parentplantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4819 |
4833 |
--
|
4820 |
4834 |
|
4821 |
|
CREATE INDEX observationsynonym_synonymobservation_id_x ON observationsynonym USING btree (synonymobservation_id);
|
|
4835 |
CREATE INDEX plantlineage_parentplantstatus_id_x ON plantlineage USING btree (parentplantstatus_id);
|
4822 |
4836 |
|
4823 |
4837 |
|
4824 |
4838 |
--
|
4825 |
|
-- Name: party_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4839 |
-- Name: plantname_plantname_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4826 |
4840 |
--
|
4827 |
4841 |
|
4828 |
|
CREATE UNIQUE INDEX party_accessioncode_index ON party USING btree (accessioncode);
|
|
4842 |
CREATE INDEX plantname_plantname_x ON plantname USING btree (plantname);
|
4829 |
4843 |
|
4830 |
4844 |
|
4831 |
4845 |
--
|
4832 |
|
-- Name: party_currentname_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4846 |
-- Name: plantname_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4833 |
4847 |
--
|
4834 |
4848 |
|
4835 |
|
CREATE INDEX party_currentname_id_x ON party USING btree (currentname_id);
|
|
4849 |
CREATE INDEX plantname_reference_id_x ON plantname USING btree (reference_id);
|
4836 |
4850 |
|
4837 |
4851 |
|
4838 |
4852 |
--
|
4839 |
|
-- Name: partymember_childparty_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4853 |
-- Name: plantstatus_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4840 |
4854 |
--
|
4841 |
4855 |
|
4842 |
|
CREATE INDEX partymember_childparty_id_x ON partymember USING btree (childparty_id);
|
|
4856 |
CREATE UNIQUE INDEX plantstatus_accessioncode_index ON plantstatus USING btree (accessioncode);
|
4843 |
4857 |
|
4844 |
4858 |
|
4845 |
4859 |
--
|
4846 |
|
-- Name: partymember_parentparty_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4860 |
-- Name: plantstatus_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4847 |
4861 |
--
|
4848 |
4862 |
|
4849 |
|
CREATE INDEX partymember_parentparty_id_x ON partymember USING btree (parentparty_id);
|
|
4863 |
CREATE INDEX plantstatus_party_id_x ON plantstatus USING btree (party_id);
|
4850 |
4864 |
|
4851 |
4865 |
|
4852 |
4866 |
--
|
4853 |
|
-- Name: partymember_role_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4867 |
-- Name: plantstatus_plantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4854 |
4868 |
--
|
4855 |
4869 |
|
4856 |
|
CREATE INDEX partymember_role_id_x ON partymember USING btree (role_id);
|
|
4870 |
CREATE INDEX plantstatus_plantconcept_id_x ON plantstatus USING btree (plantconcept_id);
|
4857 |
4871 |
|
4858 |
4872 |
|
4859 |
4873 |
--
|
4860 |
|
-- Name: place_namedplace_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4874 |
-- Name: plantstatus_plantlevel_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4861 |
4875 |
--
|
4862 |
4876 |
|
4863 |
|
CREATE INDEX place_namedplace_id_x ON place USING btree (namedplace_id);
|
|
4877 |
CREATE INDEX plantstatus_plantlevel_x ON plantstatus USING btree (plantlevel);
|
4864 |
4878 |
|
4865 |
4879 |
|
4866 |
4880 |
--
|
4867 |
|
-- Name: place_plot_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4881 |
-- Name: plantstatus_plantparent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4868 |
4882 |
--
|
4869 |
4883 |
|
4870 |
|
CREATE INDEX place_plot_id_x ON place USING btree (plot_id);
|
|
4884 |
CREATE INDEX plantstatus_plantparent_id_x ON plantstatus USING btree (plantparent_id);
|
4871 |
4885 |
|
4872 |
4886 |
|
4873 |
4887 |
--
|
4874 |
|
-- Name: plantconcept_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4888 |
-- Name: plantstatus_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4875 |
4889 |
--
|
4876 |
4890 |
|
4877 |
|
CREATE UNIQUE INDEX plantconcept_accessioncode_index ON plantconcept USING btree (accessioncode);
|
|
4891 |
CREATE INDEX plantstatus_reference_id_x ON plantstatus USING btree (reference_id);
|
4878 |
4892 |
|
4879 |
4893 |
|
4880 |
4894 |
--
|
4881 |
|
-- Name: plantconcept_dobscount_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4895 |
-- Name: plantusage_classsystem_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4882 |
4896 |
--
|
4883 |
4897 |
|
4884 |
|
CREATE INDEX plantconcept_dobscount_x ON plantconcept USING btree (d_obscount);
|
|
4898 |
CREATE INDEX plantusage_classsystem_x ON plantusage USING btree (classsystem);
|
4885 |
4899 |
|
4886 |
4900 |
|
4887 |
4901 |
--
|
4888 |
|
-- Name: plantconcept_plantname_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4902 |
-- Name: plantusage_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4889 |
4903 |
--
|
4890 |
4904 |
|
4891 |
|
CREATE INDEX plantconcept_plantname_id_x ON plantconcept USING btree (plantname_id);
|
|
4905 |
CREATE INDEX plantusage_party_id_x ON plantusage USING btree (party_id);
|
4892 |
4906 |
|
4893 |
4907 |
|
4894 |
4908 |
--
|
4895 |
|
-- Name: plantconcept_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4909 |
-- Name: plantusage_plantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4896 |
4910 |
--
|
4897 |
4911 |
|
4898 |
|
CREATE INDEX plantconcept_reference_id_x ON plantconcept USING btree (reference_id);
|
|
4912 |
CREATE INDEX plantusage_plantconcept_id_x ON plantusage USING btree (plantconcept_id);
|
4899 |
4913 |
|
4900 |
4914 |
|
4901 |
4915 |
--
|
4902 |
|
-- Name: plantcorrelation_plantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4916 |
-- Name: plantusage_plantname_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4903 |
4917 |
--
|
4904 |
4918 |
|
4905 |
|
CREATE INDEX plantcorrelation_plantconcept_id_x ON plantcorrelation USING btree (plantconcept_id);
|
|
4919 |
CREATE INDEX plantusage_plantname_id_x ON plantusage USING btree (plantname_id);
|
4906 |
4920 |
|
4907 |
4921 |
|
4908 |
4922 |
--
|
4909 |
|
-- Name: plantcorrelation_plantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4923 |
-- Name: plantusage_plantname_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4910 |
4924 |
--
|
4911 |
4925 |
|
4912 |
|
CREATE INDEX plantcorrelation_plantstatus_id_x ON plantcorrelation USING btree (plantstatus_id);
|
|
4926 |
CREATE INDEX plantusage_plantname_x ON plantusage USING btree (plantname);
|
4913 |
4927 |
|
4914 |
4928 |
|
4915 |
4929 |
--
|
4916 |
|
-- Name: plantlineage_childplantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4930 |
-- Name: plantusage_plantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4917 |
4931 |
--
|
4918 |
4932 |
|
4919 |
|
CREATE INDEX plantlineage_childplantstatus_id_x ON plantlineage USING btree (childplantstatus_id);
|
|
4933 |
CREATE INDEX plantusage_plantstatus_id_x ON plantusage USING btree (plantstatus_id);
|
4920 |
4934 |
|
4921 |
4935 |
|
4922 |
4936 |
--
|
4923 |
|
-- Name: plantlineage_parentplantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4937 |
-- Name: plot_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4924 |
4938 |
--
|
4925 |
4939 |
|
4926 |
|
CREATE INDEX plantlineage_parentplantstatus_id_x ON plantlineage USING btree (parentplantstatus_id);
|
|
4940 |
CREATE UNIQUE INDEX plot_accessioncode_index ON plot USING btree (accessioncode);
|
4927 |
4941 |
|
4928 |
4942 |
|
4929 |
4943 |
--
|
4930 |
|
-- Name: plantname_plantname_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4944 |
-- Name: plot_parent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4931 |
4945 |
--
|
4932 |
4946 |
|
4933 |
|
CREATE INDEX plantname_plantname_x ON plantname USING btree (plantname);
|
|
4947 |
CREATE INDEX plot_parent_id_x ON plot USING btree (parent_id);
|
4934 |
4948 |
|
4935 |
4949 |
|
4936 |
4950 |
--
|
4937 |
|
-- Name: plantname_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4951 |
-- Name: plot_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4938 |
4952 |
--
|
4939 |
4953 |
|
4940 |
|
CREATE INDEX plantname_reference_id_x ON plantname USING btree (reference_id);
|
|
4954 |
CREATE INDEX plot_reference_id_x ON plot USING btree (reference_id);
|
4941 |
4955 |
|
4942 |
4956 |
|
4943 |
4957 |
--
|
4944 |
|
-- Name: plantstatus_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4958 |
-- Name: plotevent_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4945 |
4959 |
--
|
4946 |
4960 |
|
4947 |
|
CREATE UNIQUE INDEX plantstatus_accessioncode_index ON plantstatus USING btree (accessioncode);
|
|
4961 |
CREATE UNIQUE INDEX plotevent_accessioncode_index ON plotevent USING btree (accessioncode);
|
4948 |
4962 |
|
4949 |
4963 |
|
4950 |
4964 |
--
|
4951 |
|
-- Name: plantstatus_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4965 |
-- Name: plotevent_covermethod_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4952 |
4966 |
--
|
4953 |
4967 |
|
4954 |
|
CREATE INDEX plantstatus_party_id_x ON plantstatus USING btree (party_id);
|
|
4968 |
CREATE INDEX plotevent_covermethod_id_x ON plotevent USING btree (covermethod_id);
|
4955 |
4969 |
|
4956 |
4970 |
|
4957 |
4971 |
--
|
4958 |
|
-- Name: plantstatus_plantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4972 |
-- Name: plotevent_plot_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4959 |
4973 |
--
|
4960 |
4974 |
|
4961 |
|
CREATE INDEX plantstatus_plantconcept_id_x ON plantstatus USING btree (plantconcept_id);
|
|
4975 |
CREATE INDEX plotevent_plot_id_x ON plotevent USING btree (plot_id);
|
4962 |
4976 |
|
4963 |
4977 |
|
4964 |
4978 |
--
|
4965 |
|
-- Name: plantstatus_plantlevel_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4979 |
-- Name: plotevent_previousobs_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4966 |
4980 |
--
|
4967 |
4981 |
|
4968 |
|
CREATE INDEX plantstatus_plantlevel_x ON plantstatus USING btree (plantlevel);
|
|
4982 |
CREATE INDEX plotevent_previousobs_id_x ON plotevent USING btree (previous_id);
|
4969 |
4983 |
|
4970 |
4984 |
|
4971 |
4985 |
--
|
4972 |
|
-- Name: plantstatus_plantparent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4986 |
-- Name: plotevent_project_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4973 |
4987 |
--
|
4974 |
4988 |
|
4975 |
|
CREATE INDEX plantstatus_plantparent_id_x ON plantstatus USING btree (plantparent_id);
|
|
4989 |
CREATE INDEX plotevent_project_id_x ON plotevent USING btree (project_id);
|
4976 |
4990 |
|
4977 |
4991 |
|
4978 |
4992 |
--
|
4979 |
|
-- Name: plantstatus_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
4993 |
-- Name: plotevent_soiltaxon_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4980 |
4994 |
--
|
4981 |
4995 |
|
4982 |
|
CREATE INDEX plantstatus_reference_id_x ON plantstatus USING btree (reference_id);
|
|
4996 |
CREATE INDEX plotevent_soiltaxon_id_x ON plotevent USING btree (soiltaxon_id);
|
4983 |
4997 |
|
4984 |
4998 |
|
4985 |
4999 |
--
|
4986 |
|
-- Name: plantusage_classsystem_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5000 |
-- Name: plotevent_stratummethod_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4987 |
5001 |
--
|
4988 |
5002 |
|
4989 |
|
CREATE INDEX plantusage_classsystem_x ON plantusage USING btree (classsystem);
|
|
5003 |
CREATE INDEX plotevent_stratummethod_id_x ON plotevent USING btree (stratummethod_id);
|
4990 |
5004 |
|
4991 |
5005 |
|
4992 |
5006 |
--
|
4993 |
|
-- Name: plantusage_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5007 |
-- Name: ploteventcontributor_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
4994 |
5008 |
--
|
4995 |
5009 |
|
4996 |
|
CREATE INDEX plantusage_party_id_x ON plantusage USING btree (party_id);
|
|
5010 |
CREATE INDEX ploteventcontributor_party_id_x ON ploteventcontributor USING btree (party_id);
|
4997 |
5011 |
|
4998 |
5012 |
|
4999 |
5013 |
--
|
5000 |
|
-- Name: plantusage_plantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5014 |
-- Name: ploteventcontributor_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5001 |
5015 |
--
|
5002 |
5016 |
|
5003 |
|
CREATE INDEX plantusage_plantconcept_id_x ON plantusage USING btree (plantconcept_id);
|
|
5017 |
CREATE INDEX ploteventcontributor_plotevent_id_x ON ploteventcontributor USING btree (plotevent_id);
|
5004 |
5018 |
|
5005 |
5019 |
|
5006 |
5020 |
--
|
5007 |
|
-- Name: plantusage_plantname_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5021 |
-- Name: ploteventcontributor_role_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5008 |
5022 |
--
|
5009 |
5023 |
|
5010 |
|
CREATE INDEX plantusage_plantname_id_x ON plantusage USING btree (plantname_id);
|
|
5024 |
CREATE INDEX ploteventcontributor_role_id_x ON ploteventcontributor USING btree (role_id);
|
5011 |
5025 |
|
5012 |
5026 |
|
5013 |
5027 |
--
|
5014 |
|
-- Name: plantusage_plantname_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5028 |
-- Name: ploteventsynonym_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5015 |
5029 |
--
|
5016 |
5030 |
|
5017 |
|
CREATE INDEX plantusage_plantname_x ON plantusage USING btree (plantname);
|
|
5031 |
CREATE UNIQUE INDEX ploteventsynonym_accessioncode_index ON ploteventsynonym USING btree (accessioncode);
|
5018 |
5032 |
|
5019 |
5033 |
|
5020 |
5034 |
--
|
5021 |
|
-- Name: plantusage_plantstatus_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5035 |
-- Name: ploteventsynonym_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5022 |
5036 |
--
|
5023 |
5037 |
|
5024 |
|
CREATE INDEX plantusage_plantstatus_id_x ON plantusage USING btree (plantstatus_id);
|
|
5038 |
CREATE INDEX ploteventsynonym_party_id_x ON ploteventsynonym USING btree (party_id);
|
5025 |
5039 |
|
5026 |
5040 |
|
5027 |
5041 |
--
|
5028 |
|
-- Name: plot_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5042 |
-- Name: ploteventsynonym_primaryplotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5029 |
5043 |
--
|
5030 |
5044 |
|
5031 |
|
CREATE UNIQUE INDEX plot_accessioncode_index ON plot USING btree (accessioncode);
|
|
5045 |
CREATE INDEX ploteventsynonym_primaryplotevent_id_x ON ploteventsynonym USING btree (primaryplotevent_id);
|
5032 |
5046 |
|
5033 |
5047 |
|
5034 |
5048 |
--
|
5035 |
|
-- Name: plot_parent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5049 |
-- Name: ploteventsynonym_role_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5036 |
5050 |
--
|
5037 |
5051 |
|
5038 |
|
CREATE INDEX plot_parent_id_x ON plot USING btree (parent_id);
|
|
5052 |
CREATE INDEX ploteventsynonym_role_id_x ON ploteventsynonym USING btree (role_id);
|
5039 |
5053 |
|
5040 |
5054 |
|
5041 |
5055 |
--
|
5042 |
|
-- Name: plot_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5056 |
-- Name: ploteventsynonym_synonymplotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5043 |
5057 |
--
|
5044 |
5058 |
|
5045 |
|
CREATE INDEX plot_reference_id_x ON plot USING btree (reference_id);
|
|
5059 |
CREATE INDEX ploteventsynonym_synonymplotevent_id_x ON ploteventsynonym USING btree (synonymplotevent_id);
|
5046 |
5060 |
|
5047 |
5061 |
|
5048 |
5062 |
--
|
... | ... | |
5137 |
5151 |
|
5138 |
5152 |
|
5139 |
5153 |
--
|
5140 |
|
-- Name: soilobs_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5154 |
-- Name: soilobs_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5141 |
5155 |
--
|
5142 |
5156 |
|
5143 |
|
CREATE INDEX soilobs_observation_id_x ON soilobs USING btree (plotevent_id);
|
|
5157 |
CREATE INDEX soilobs_plotevent_id_x ON soilobs USING btree (plotevent_id);
|
5144 |
5158 |
|
5145 |
5159 |
|
5146 |
5160 |
--
|
... | ... | |
5158 |
5172 |
|
5159 |
5173 |
|
5160 |
5174 |
--
|
5161 |
|
-- Name: stemlocation_individualplant_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5175 |
-- Name: stemobservation_individualplant_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5162 |
5176 |
--
|
5163 |
5177 |
|
5164 |
|
CREATE INDEX stemlocation_individualplant_id_x ON stemobservation USING btree (individualplant_id);
|
|
5178 |
CREATE INDEX stemobservation_individualplant_id_x ON stemobservation USING btree (individualplant_id);
|
5165 |
5179 |
|
5166 |
5180 |
|
5167 |
5181 |
--
|
5168 |
|
-- Name: stratum_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5182 |
-- Name: stratum_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5169 |
5183 |
--
|
5170 |
5184 |
|
5171 |
|
CREATE INDEX stratum_observation_id_x ON stratum USING btree (plotevent_id);
|
|
5185 |
CREATE INDEX stratum_plotevent_id_x ON stratum USING btree (plotevent_id);
|
5172 |
5186 |
|
5173 |
5187 |
|
5174 |
5188 |
--
|
... | ... | |
5277 |
5291 |
|
5278 |
5292 |
|
5279 |
5293 |
--
|
5280 |
|
-- Name: taxondetermination_stemlocation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5294 |
-- Name: taxondetermination_stemobservation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5281 |
5295 |
--
|
5282 |
5296 |
|
5283 |
|
CREATE INDEX taxondetermination_stemlocation_id_x ON taxondetermination USING btree (stemobservation_id);
|
|
5297 |
CREATE INDEX taxondetermination_stemobservation_id_x ON taxondetermination USING btree (stemobservation_id);
|
5284 |
5298 |
|
5285 |
5299 |
|
5286 |
5300 |
--
|
5287 |
|
-- Name: taxondetermination_taxonobservation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5301 |
-- Name: taxondetermination_taxonoccurrence_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5288 |
5302 |
--
|
5289 |
5303 |
|
5290 |
|
CREATE INDEX taxondetermination_taxonobservation_id_x ON taxondetermination USING btree (taxonoccurrence_id);
|
|
5304 |
CREATE INDEX taxondetermination_taxonoccurrence_id_x ON taxondetermination USING btree (taxonoccurrence_id);
|
5291 |
5305 |
|
5292 |
5306 |
|
5293 |
5307 |
--
|
5294 |
|
-- Name: taxonimportance_taxonbin_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5308 |
-- Name: taxonoccurrence_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5295 |
5309 |
--
|
5296 |
5310 |
|
5297 |
|
CREATE INDEX taxonimportance_taxonbin_id_x ON collectiveobservation USING btree (taxonbin_id);
|
|
5311 |
CREATE UNIQUE INDEX taxonoccurrence_accessioncode_index ON taxonoccurrence USING btree (accessioncode);
|
5298 |
5312 |
|
5299 |
5313 |
|
5300 |
5314 |
--
|
5301 |
|
-- Name: taxonimportance_taxonobservation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5315 |
-- Name: taxonoccurrence_int_currplantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5302 |
5316 |
--
|
5303 |
5317 |
|
5304 |
|
CREATE INDEX taxonimportance_taxonobservation_id_x ON collectiveobservation USING btree (taxonoccurrence_id);
|
|
5318 |
CREATE INDEX taxonoccurrence_int_currplantconcept_id_x ON taxonoccurrence USING btree (int_currplantconcept_id);
|
5305 |
5319 |
|
5306 |
5320 |
|
5307 |
5321 |
--
|
5308 |
|
-- Name: taxonobservation_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5322 |
-- Name: taxonoccurrence_int_origplantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5309 |
5323 |
--
|
5310 |
5324 |
|
5311 |
|
CREATE UNIQUE INDEX taxonobservation_accessioncode_index ON taxonoccurrence USING btree (accessioncode);
|
|
5325 |
CREATE INDEX taxonoccurrence_int_origplantconcept_id_x ON taxonoccurrence USING btree (int_origplantconcept_id);
|
5312 |
5326 |
|
5313 |
5327 |
|
5314 |
5328 |
--
|
5315 |
|
-- Name: taxonobservation_int_currplantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5329 |
-- Name: taxonoccurrence_plotevent_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5316 |
5330 |
--
|
5317 |
5331 |
|
5318 |
|
CREATE INDEX taxonobservation_int_currplantconcept_id_x ON taxonoccurrence USING btree (int_currplantconcept_id);
|
|
5332 |
CREATE INDEX taxonoccurrence_plotevent_id_x ON taxonoccurrence USING btree (plotevent_id);
|
5319 |
5333 |
|
5320 |
5334 |
|
5321 |
5335 |
--
|
5322 |
|
-- Name: taxonobservation_int_origplantconcept_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
|
5336 |
-- Name: taxonoccurrence_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5323 |
5337 |
--
|
5324 |
5338 |
|
5325 |
|
CREATE INDEX taxonobservation_int_origplantconcept_id_x ON taxonoccurrence USING btree (int_origplantconcept_id);
|
|
5339 |
CREATE INDEX taxonoccurrence_reference_id_x ON taxonoccurrence USING btree (reference_id);
|
5326 |
5340 |
|
5327 |
5341 |
|
5328 |
5342 |
--
|
5329 |
|
-- Name: taxonobservation_observation_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5330 |
|
--
|
5331 |
|
|
5332 |
|
CREATE INDEX taxonobservation_observation_id_x ON taxonoccurrence USING btree (plotevent_id);
|
5333 |
|
|
5334 |
|
|
5335 |
|
--
|
5336 |
|
-- Name: taxonobservation_reference_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5337 |
|
--
|
5338 |
|
|
5339 |
|
CREATE INDEX taxonobservation_reference_id_x ON taxonoccurrence USING btree (reference_id);
|
5340 |
|
|
5341 |
|
|
5342 |
|
--
|
5343 |
5343 |
-- Name: telephone_party_id_x; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
5344 |
5344 |
--
|
5345 |
5345 |
|
... | ... | |
5499 |
5499 |
|
5500 |
5500 |
|
5501 |
5501 |
--
|
5502 |
|
-- Name: r1commclass_observation_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
5502 |
-- Name: r1collectiveobservation_taxonoccurrence_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
5503 |
5503 |
--
|
5504 |
5504 |
|
|
5505 |
ALTER TABLE ONLY collectiveobservation
|
|
5506 |
ADD CONSTRAINT r1collectiveobservation_taxonoccurrence_id FOREIGN KEY (taxonoccurrence_id) REFERENCES taxonoccurrence(taxonoccurrence_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
|
5507 |
|
|
5508 |
|
|
5509 |
--
|
|
5510 |
-- Name: r1commclass_plotevent_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
5511 |
--
|
|
5512 |
|
5505 |
5513 |
ALTER TABLE ONLY commclass
|
5506 |
|
ADD CONSTRAINT r1commclass_observation_id FOREIGN KEY (plotevent_id) REFERENCES plotevent(plotevent_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
|
5514 |
ADD CONSTRAINT r1commclass_plotevent_id FOREIGN KEY (plotevent_id) REFERENCES plotevent(plotevent_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
5507 |
5515 |
|
5508 |
5516 |
|
5509 |
5517 |
--
|
... | ... | |
5587 |
5595 |
|
5588 |
5596 |
|
5589 |
5597 |
--
|
5590 |
|
-- Name: r1disturbanceobs_observation_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
5598 |
-- Name: r1disturbanceobs_plotevent_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
5591 |
5599 |
--
|
5592 |
5600 |
|
5593 |
5601 |
ALTER TABLE ONLY disturbanceobs
|
5594 |
|
ADD CONSTRAINT r1disturbanceobs_observation_id FOREIGN KEY (plotevent_id) REFERENCES plotevent(plotevent_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
|
5602 |
ADD CONSTRAINT r1disturbanceobs_plotevent_id FOREIGN KEY (plotevent_id) REFERENCES plotevent(plotevent_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
5595 |
5603 |
|
5596 |
5604 |
|
5597 |
5605 |
--
|
... | ... | |
5603 |
5611 |
|
5604 |
5612 |
|
5605 |
5613 |
--
|
5606 |
|
-- Name: r1graphic_observation_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
5614 |
-- Name: r1graphic_plotevent_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
5607 |
5615 |
--
|
5608 |
5616 |
|
5609 |
5617 |
ALTER TABLE ONLY graphic
|
5610 |
|
ADD CONSTRAINT r1graphic_observation_id FOREIGN KEY (plotevent_id) REFERENCES plotevent(plotevent_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
|
5618 |
ADD CONSTRAINT r1graphic_plotevent_id FOREIGN KEY (plotevent_id) REFERENCES plotevent(plotevent_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
5611 |
5619 |
|
5612 |
5620 |
|
5613 |
5621 |
--
|
5614 |
|
-- Name: r1individualplant_taxonimportance_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
5622 |
-- Name: r1individualplant_collectiveobservation_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
5615 |
5623 |
--
|
5616 |
5624 |
|
5617 |
5625 |
ALTER TABLE ONLY individualplant
|
5618 |
|
ADD CONSTRAINT r1individualplant_taxonimportance_id FOREIGN KEY (collectiveobservation_id) REFERENCES collectiveobservation(collectiveobservation_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
|
5626 |
ADD CONSTRAINT r1individualplant_collectiveobservation_id FOREIGN KEY (collectiveobservation_id) REFERENCES collectiveobservation(collectiveobservation_id) ON UPDATE CASCADE ON DELETE CASCADE;
|
5619 |
5627 |
|
5620 |
5628 |
|
5621 |
5629 |
--
|
... | ... | |
5643 |
5651 |
|
5644 |
5652 |
|
5645 |
5653 |
--
|
5646 |
|
-- Name: r1observation_previousobs_id; Type: FK CONSTRAINT; Schema: public; Owner: -
|
5647 |
|
--
|
5648 |
|
|
5649 |
|
ALTER TABLE ONLY plotevent
|
vegbien.sql: Reran renames to capture cases where a name is in the middle of an identifier