Revision 10245
Added by Aaron Marcuse-Kubitza almost 11 years ago
postprocess.sql | ||
---|---|---|
1 |
ALTER TABLE :table ADD PRIMARY KEY (specimen_id); |
|
1 |
SELECT util.search_path_append('util'); |
|
2 |
|
|
3 |
SELECT create_if_not_exists($$ALTER TABLE $$||:table_str||$$ ADD PRIMARY KEY (specimen_id)$$); |
Also available in: Unified diff
bugfix: inputs/*/*/postprocess.sql: made all operations idempotent, so that postprocess.sql can be run repeatedly (e.g. by new-style import)