Skip to content

Commit

Permalink
db changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Nov 16, 2023
1 parent a48400a commit 73fac66
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 127 deletions.
4 changes: 4 additions & 0 deletions qiita_db/support_files/patches/89.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- Nov 1, 2023
-- add creation_job_id to qiita.prep_template
ALTER TABLE qiita.analysis slurm_reservation VARCHAR DEFAULT '' NOT NULL;
ALTER TABLE qiita.user_level ADD slurm_parameters VARCHAR DEFAULT '' NOT NULL;
9 changes: 8 additions & 1 deletion qiita_db/support_files/qiita-db.dbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project name="PostgreSQL" id="Project_fb1" database="PostgreSQL" >
<schema name="qiita" >
<table name="analysis" >
<comment><![CDATA[hHolds analysis information]]></comment>
<comment><![CDATA[Holds analysis information]]></comment>
<column name="analysis_id" type="bigint" length="19" decimal="0" jt="-5" mandatory="y" >
<defo><![CDATA[nextval('qiita.analysis_analysis_id_seq'::regclass)]]></defo>
<comment><![CDATA[Unique identifier for analysis]]></comment>
Expand All @@ -24,6 +24,9 @@
<defo><![CDATA[false]]></defo>
</column>
<column name="logging_id" type="bigint" length="19" decimal="0" jt="-5" />
<column name="slurm_reservation" type="varchar" jt="12" mandatory="y" >
<defo><![CDATA['']]></defo>
</column>
<index name="pk_analysis" unique="PRIMARY_KEY" >
<column name="analysis_id" />
</index>
Expand Down Expand Up @@ -1722,6 +1725,10 @@ Controlled Vocabulary]]></comment>
<comment><![CDATA[One of the user levels (admin, user, guest, etc)]]></comment>
</column>
<column name="description" type="text" decimal="0" jt="12" mandatory="y" />
<column name="slurm_parameters" type="varchar" jt="12" mandatory="y" >
<defo><![CDATA['']]></defo>
<comment><![CDATA[Specific per_user_level slurm parameters]]></comment>
</column>
<index name="pk_user_level" unique="PRIMARY_KEY" >
<column name="user_level_id" />
</index>
Expand Down
Loading

0 comments on commit 73fac66

Please sign in to comment.