Skip to content

Commit

Permalink
add HuMFre column to sample table
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrine33 committed Dec 11, 2024
1 parent 5e0e30d commit c8bbc26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrate/20241211144506_add_hu_m_fre_code_to_sample.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddHuMFreCodeToSample < ActiveRecord::Migration[7.0]
def change
add_column :sample, :huMFre_code, :string, limit: 16
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2024_12_03_134455) do
ActiveRecord::Schema[7.0].define(version: 2024_12_11_144506) do
create_table "aliquot", charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t|
t.string "id_lims", null: false, comment: "The LIMS system that the aliquot was created in"
t.string "aliquot_uuid", null: false, comment: "The UUID of the aliquot in the LIMS system"
Expand Down Expand Up @@ -366,6 +366,7 @@
t.string "gc_content"
t.string "dna_source"
t.string "priority_level", comment: "Priority level eg Medium, High etc"
t.string "huMFre_code", limit: 16
t.index ["accession_number"], name: "sample_accession_number_index"
t.index ["id_lims", "id_sample_lims"], name: "index_sample_on_id_lims_and_id_sample_lims", unique: true
t.index ["id_lims"], name: "index_sample_on_id_lims"
Expand Down

0 comments on commit c8bbc26

Please sign in to comment.