Skip to content

Commit

Permalink
Rename some columns and edit comments
Browse files Browse the repository at this point in the history
  • Loading branch information
javidahmed64592 committed Jun 7, 2023
1 parent e208547 commit 0c19434
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions db/migrate/20230605152453_create_labware_location.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
class CreateLabwareLocation < ActiveRecord::Migration[7.0]
def change
create_table :labware_location do |t|
t.string :item_barcode, unique: true, null: false, comment: 'Barcode on the stored labware'
t.string :labware_barcode, unique: true, null: false, comment: 'Barcode on the stored labware'
t.string :location_barcode, null: false, comment: 'Barcode associated with storage location'
t.string :full_location_address, null: false, comment: 'Fully qualifed address of the nested location'
t.integer :coord_position, null: true, comment: 'Position'
t.integer :coord_row, null: true, comment: 'Row'
t.integer :coord_column, null: true, comment: 'Column'
t.integer :coordinate_position, null: true, comment: 'Coordinate position of labware in storage location'
t.integer :coordinate_row, null: true, comment: 'Coordinate row of labware in storage location'
t.integer :coordinate_column, null: true, comment: 'Coordinate column of labware in storage location'
t.string :lims_id, null: false, comment: 'ID of the storage system this data comes from'
t.string :stored_by, null: false, comment: 'Username of the person who placed the item there'
t.datetime :stored_at, null: false, comment: 'Datetime the item was stored at this location'
Expand Down
8 changes: 4 additions & 4 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@
end

create_table "labware_location", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci", force: :cascade do |t|
t.string "item_barcode", null: false, comment: "Barcode on the stored labware"
t.string "labware_barcode", null: false, comment: "Barcode on the stored labware"
t.string "location_barcode", null: false, comment: "Barcode associated with storage location"
t.string "full_location_address", null: false, comment: "Fully qualifed address of the nested location"
t.integer "coord_position", comment: "Position"
t.integer "coord_row", comment: "Row"
t.integer "coord_column", comment: "Column"
t.integer "coordinate_position", comment: "Coordinate position of labware in storage location"
t.integer "coordinate_row", comment: "Coordinate row of labware in storage location"
t.integer "coordinate_column", comment: "Coordinate column of labware in storage location"
t.string "lims_id", null: false, comment: "ID of the storage system this data comes from"
t.string "stored_by", null: false, comment: "Username of the person who placed the item there"
t.datetime "stored_at", null: false, comment: "Datetime the item was stored at this location"
Expand Down

0 comments on commit 0c19434

Please sign in to comment.