1 |
10932
|
aaronmk
|
SELECT util.search_path_append('util');
|
2 |
|
|
|
3 |
11232
|
aaronmk
|
SELECT create_if_not_exists($$CREATE INDEX $$||:table_str||%'__parent'||$$ ON $$||:table_str||$$ ("eventID")$$); -- runtime: 2 s ("2416.676 ms") @starscream
|
4 |
10932
|
aaronmk
|
|
5 |
11232
|
aaronmk
|
|
6 |
10932
|
aaronmk
|
SELECT mk_derived_col((:table_str, 'scientificName'),
|
7 |
10943
|
aaronmk
|
$$_alt("scientificName_verbatim", "scientificName__for_nearest_taxon_concept")$$)
|
8 |
10933
|
aaronmk
|
; -- runtime: 15 s ("Time: 12334.893 ms") @starscream
|
9 |
10993
|
aaronmk
|
|
10 |
|
|
|
11 |
10998
|
aaronmk
|
SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY ("identificationID")$$); -- runtime: 1 s ("Time: 1342.115 ms") @starscream
|