Skip to content

Commit

Permalink
Change 'created_at' column type to datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
ImanuelBertrand committed Sep 6, 2023
1 parent a057d1a commit a68c062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<column xsi:type="float" name="match_confidence" nullable="true" comment="Match Confidence"/>
<column xsi:type="varchar" name="partial_hash" nullable="true" length="40" comment="Partial reference"/>
<column xsi:type="int" name="dirty" nullable="true" comment="Needs rematching"/>
<column xsi:type="timestamp" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/>
<column xsi:type="datetime" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/>
<column xsi:type="timestamp" name="updated_at" nullable="false" default="CURRENT_TIMESTAMP" on_update="true" comment="Update Time"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="entity_id"/>
Expand All @@ -32,7 +32,7 @@
<column xsi:type="int" name="document_id" nullable="false" comment="Document ID"/>
<column xsi:type="float" name="match_confidence" nullable="true" comment="Document ID"/>
<column xsi:type="varchar" name="partial_hash" nullable="true" length="40" comment="Partial reference"/>
<column xsi:type="timestamp" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/>
<column xsi:type="datetime" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/>
<column xsi:type="timestamp" name="updated_at" nullable="false" default="CURRENT_TIMESTAMP" on_update="true" comment="Update Time"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="entity_id"/>
Expand All @@ -46,7 +46,7 @@
<column xsi:type="int" name="temp_transaction_id" unsigned="true" nullable="false" comment="TempTransaction ID"/>
<column xsi:type="int" name="document_id" unsigned="true" nullable="false" comment="Document Id"/>
<column xsi:type="float" name="confidence" nullable="false" comment="Match Confidence"/>
<column xsi:type="timestamp" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/>
<column xsi:type="datetime" name="created_at" nullable="false" default="CURRENT_TIMESTAMP" comment="Creation Time"/>
<column xsi:type="timestamp" name="updated_at" nullable="false" default="CURRENT_TIMESTAMP" on_update="true" comment="Update Time"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="entity_id"/>
Expand Down

0 comments on commit a68c062

Please sign in to comment.