Skip to content

Commit

Permalink
29608 Add storage unit to SeqBatch
Browse files Browse the repository at this point in the history
Added storage related fields and minimal validation
  • Loading branch information
cgendreau committed Jan 4, 2023
1 parent 9342a30 commit 46b24ef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 71 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package ca.gc.aafc.seqdb.api.validation;public class SeqBatchValidator {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://local.xsd/dbchangelog-4.4.xsd"
objectQuotingStrategy="QUOTE_ONLY_RESERVED_WORDS">
<changeSet id="33-Add_well_coordinates_SeqReaction" context="schema-change" author="cgendreau">
<addColumn tableName="seq_reaction">
<column name="well_column" type="INTEGER"/>
<column name="well_row" type="VARCHAR(2)"/>
</addColumn>
<sql>
ALTER TABLE seq_reaction ADD CONSTRAINT well_column_seqreaction_check CHECK (well_column &gt;=1 AND well_column &lt;= 255)
</sql>
</changeSet>
</databaseChangeLog>

This file was deleted.

0 comments on commit 46b24ef

Please sign in to comment.