Skip to content

Commit

Permalink
Merge pull request #599 from sanger/develop
Browse files Browse the repository at this point in the history
Migration to update entity_type column's comment in iseq_flowcell
  • Loading branch information
dasunpubudumal authored Feb 29, 2024
2 parents 6c5a0d9 + 813b54b commit e0ec280
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.4
1.17.5
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ GEM
minitest (5.21.2)
msgpack (1.7.2)
multi_json (1.15.0)
mysql2 (0.5.5)
mysql2 (0.5.6)
nenv (0.3.0)
nokogiri (1.16.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
notiffany (0.1.3)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class UpdateIseqFlowcellEntityTypeComment < ActiveRecord::Migration[7.0]
def up
change_column_comment :iseq_flowcell, :entity_type, "Lane type: library, library_control, library_indexed, library_indexed_spike"
end

def down
change_column_comment :iseq_flowcell, :entity_type, "Lane type: library, pool, library_control, library_indexed, library_indexed_spike"
end
end
4 changes: 2 additions & 2 deletions 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: 2023_12_07_143456) do
ActiveRecord::Schema[7.0].define(version: 2024_02_28_140011) do
create_table "bmap_flowcell", primary_key: "id_bmap_flowcell_tmp", id: :integer, charset: "utf8mb3", collation: "utf8mb3_unicode_ci", force: :cascade do |t|
t.datetime "last_updated", precision: nil, null: false, comment: "Timestamp of last update"
t.datetime "recorded_at", precision: nil, null: false, comment: "Timestamp of warehouse update"
Expand Down Expand Up @@ -67,7 +67,7 @@
t.string "reagent_kit_barcode", limit: 30, comment: "The barcode for the reagent kit or cartridge"
t.string "id_flowcell_lims", limit: 20, null: false, comment: "LIMs-specific flowcell id, batch_id for Sequencescape"
t.integer "position", limit: 2, null: false, comment: "Flowcell lane number", unsigned: true
t.string "entity_type", limit: 30, null: false, comment: "Lane type: library, pool, library_control, library_indexed, library_indexed_spike"
t.string "entity_type", limit: 30, null: false, comment: "Lane type: library, library_control, library_indexed, library_indexed_spike"
t.string "entity_id_lims", limit: 20, null: false, comment: "Most specific LIMs identifier associated with this lane or plex or spike"
t.integer "tag_index", limit: 2, comment: "Tag index, NULL if lane is not a pool", unsigned: true
t.string "tag_sequence", limit: 30, comment: "Tag sequence"
Expand Down

0 comments on commit e0ec280

Please sign in to comment.