-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Description
If you try to add a prep template with only sample_name (minimal information needed for a prep template) the add fails with:
QiitaDBExecutionError:
Error running SQL query in queue CREATE_PREP_TEMPLATE_296: CREATE TABLE qiita.prep_368 (sample_id varchar NOT NULL, , CONSTRAINT fk_prep_368 FOREIGN KEY (sample_id) REFERENCES qiita.study_sample (sample_id) ON UPDATE CASCADE)
ARGS: None
Error: syntax error at or near ","
LINE 1: ...TABLE qiita.prep_368 (sample_id varchar NOT NULL, , CONSTRAI...
The current solution is to add a prep_template with 2 columns.